Skip to content

Commit

Permalink
[PATCH] sysfs: don't export dir symbols
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gregkh committed Mar 20, 2006
1 parent a29d642 commit 832c57e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 832c57e

Please sign in to comment.