diff options
Diffstat (limited to 'fs/autofs/inode.c')
-rw-r--r-- | fs/autofs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index 2c9759baad61..54c518c89e4c 100644 --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include "autofs_i.h" | 20 | #include "autofs_i.h" |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | 22 | ||
23 | static void autofs_put_super(struct super_block *sb) | 23 | void autofs_kill_sb(struct super_block *sb) |
24 | { | 24 | { |
25 | struct autofs_sb_info *sbi = autofs_sbi(sb); | 25 | struct autofs_sb_info *sbi = autofs_sbi(sb); |
26 | unsigned int n; | 26 | unsigned int n; |
@@ -37,13 +37,13 @@ static void autofs_put_super(struct super_block *sb) | |||
37 | kfree(sb->s_fs_info); | 37 | kfree(sb->s_fs_info); |
38 | 38 | ||
39 | DPRINTK(("autofs: shutting down\n")); | 39 | DPRINTK(("autofs: shutting down\n")); |
40 | kill_anon_super(sb); | ||
40 | } | 41 | } |
41 | 42 | ||
42 | static void autofs_read_inode(struct inode *inode); | 43 | static void autofs_read_inode(struct inode *inode); |
43 | 44 | ||
44 | static struct super_operations autofs_sops = { | 45 | static struct super_operations autofs_sops = { |
45 | .read_inode = autofs_read_inode, | 46 | .read_inode = autofs_read_inode, |
46 | .put_super = autofs_put_super, | ||
47 | .statfs = simple_statfs, | 47 | .statfs = simple_statfs, |
48 | }; | 48 | }; |
49 | 49 | ||