aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-03-16 13:23:21 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-20 16:42:59 -0500
commit832c57e9afa7a263bb2f8ee6d04d527ef6709aae (patch)
treedbc11a1979d582bd15a12353a2e6f421d3445522 /fs/sysfs/dir.c
parenta29d642a4aa99c5234314ab2523281139226c231 (diff)
[PATCH] sysfs: don't export dir symbols
These functions should only be used by the kobject core, and if any driver tries to use them, bad things happen. Unexport them to try to prevent this from happening. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r--fs/sysfs/dir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index bea1f4c02b9b..9ee956864445 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -510,7 +510,3 @@ struct file_operations sysfs_dir_operations = {
510 .read = generic_read_dir, 510 .read = generic_read_dir,
511 .readdir = sysfs_readdir, 511 .readdir = sysfs_readdir,
512}; 512};
513
514EXPORT_SYMBOL_GPL(sysfs_create_dir);
515EXPORT_SYMBOL_GPL(sysfs_remove_dir);
516EXPORT_SYMBOL_GPL(sysfs_rename_dir);