diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-16 18:23:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 21:42:59 (GMT) |
commit | 832c57e9afa7a263bb2f8ee6d04d527ef6709aae (patch) | |
tree | dbc11a1979d582bd15a12353a2e6f421d3445522 | |
parent | a29d642a4aa99c5234314ab2523281139226c231 (diff) | |
download | linux-832c57e9afa7a263bb2f8ee6d04d527ef6709aae.tar.xz |
[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>
-rw-r--r-- | fs/sysfs/dir.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index bea1f4c..9ee9568 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c @@ -510,7 +510,3 @@ struct file_operations sysfs_dir_operations = { .read = generic_read_dir, .readdir = sysfs_readdir, }; - -EXPORT_SYMBOL_GPL(sysfs_create_dir); -EXPORT_SYMBOL_GPL(sysfs_remove_dir); -EXPORT_SYMBOL_GPL(sysfs_rename_dir); |