summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-03-12 01:53:16 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-03-12 01:53:16 -0800
commit594ece65280586acf160038f2426fe89564867f8 (patch)
tree32da9386b5f7e93a21ec04cf4d6609cad0996cf9 /include/linux
parentd5e9d67b4b82633b59e26f7b5de9687518599d84 (diff)
[PATCH] (2/4) smarter nfs_get_sb()
Export sget(9), deactivate_super(9) and set_anon_sb(9)
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 09096196a424..bc68e7ad5ad1 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -953,6 +953,11 @@ void kill_block_super(struct super_block *sb);
void kill_anon_super(struct super_block *sb);
void kill_litter_super(struct super_block *sb);
void deactivate_super(struct super_block *sb);
+int set_anon_super(struct super_block *s, void *data);
+struct super_block *sget(struct file_system_type *type,
+ int (*test)(struct super_block *,void *),
+ int (*set)(struct super_block *,void *),
+ void *data);
/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
#define fops_get(fops) \