projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29d642
)
[PATCH] sysfs: don't export dir symbols
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 16 Mar 2006 18:23:21 +0000
(11:23 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Mar 2006 21:42:59 +0000
(13:42 -0800)
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>
fs/sysfs/dir.c
patch
|
blob
|
history
diff --git
a/fs/sysfs/dir.c
b/fs/sysfs/dir.c
index
bea1f4c
..
9ee9568
100644
(file)
--- 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);