Commit 594ece65 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] (2/4) smarter nfs_get_sb()

Export sget(9), deactivate_super(9) and set_anon_sb(9)
parent d5e9d67b
...@@ -953,6 +953,11 @@ void kill_block_super(struct super_block *sb); ...@@ -953,6 +953,11 @@ void kill_block_super(struct super_block *sb);
void kill_anon_super(struct super_block *sb); void kill_anon_super(struct super_block *sb);
void kill_litter_super(struct super_block *sb); void kill_litter_super(struct super_block *sb);
void deactivate_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 */ /* Alas, no aliases. Too much hassle with bringing module.h everywhere */
#define fops_get(fops) \ #define fops_get(fops) \
......
...@@ -292,6 +292,8 @@ EXPORT_SYMBOL(get_sb_single); ...@@ -292,6 +292,8 @@ EXPORT_SYMBOL(get_sb_single);
EXPORT_SYMBOL(kill_anon_super); EXPORT_SYMBOL(kill_anon_super);
EXPORT_SYMBOL(kill_litter_super); EXPORT_SYMBOL(kill_litter_super);
EXPORT_SYMBOL(deactivate_super); EXPORT_SYMBOL(deactivate_super);
EXPORT_SYMBOL(sget);
EXPORT_SYMBOL(set_anon_super);
/* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
EXPORT_SYMBOL(default_llseek); EXPORT_SYMBOL(default_llseek);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment