summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-10-07 20:39:15 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-07 20:39:15 -0700
commit1b5dd0c2d0bd49b66c99cadac69ed50fbf85492e (patch)
tree8d7dc69a2a23641b606aaa13a7b9c6853c075cae /kernel
parent5b73f88291081dc1120afc08d2786a6fe2b1e6d6 (diff)
[PATCH] move library functions from ramfs into libfs
From Bill Irwin The simple_link(), simple_unlink(), simple_rename(), simple_sync_file(), simple_rmdir(), and simple_empty() functions are easy to duplicate. Basically, I duplicated them in an fs patch of mine, and Linus told me to put them in libfs.c Pat Mochel has acked the changes for driverfs (in that he'll convert the stuff over when they're available from libfs), and my hugetlbfs implementation was the thing that spurred the whole incident.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ksyms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/ksyms.c b/kernel/ksyms.c
index 149bdde5f2e7..8ddb0f606ed0 100644
--- a/kernel/ksyms.c
+++ b/kernel/ksyms.c
@@ -303,6 +303,12 @@ EXPORT_SYMBOL(simple_statfs);
EXPORT_SYMBOL(simple_lookup);
EXPORT_SYMBOL(simple_dir_operations);
EXPORT_SYMBOL(simple_dir_inode_operations);
+EXPORT_SYMBOL(simple_link);
+EXPORT_SYMBOL(simple_unlink);
+EXPORT_SYMBOL(simple_rmdir);
+EXPORT_SYMBOL(simple_rename);
+EXPORT_SYMBOL(simple_sync_file);
+EXPORT_SYMBOL(simple_empty);
EXPORT_SYMBOL(fd_install);
EXPORT_SYMBOL(put_unused_fd);
EXPORT_SYMBOL(get_sb_bdev);