summaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-05-06 07:34:22 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-05-09 16:49:40 +0200
commit6f5bbff9a1b7d6864a495763448a363bbfa96324 (patch)
tree0067dca46f40def1c55541c34c262e06aeb8c4c8 /fs/proc/root.c
parentNew helper: deactivate_locked_super() (diff)
downloadlinux-6f5bbff9a1b7d6864a495763448a363bbfa96324.tar.xz
linux-6f5bbff9a1b7d6864a495763448a363bbfa96324.zip
Convert obvious places to deactivate_locked_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r--fs/proc/root.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 1e15a2b176e8..b080b791d9e3 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -67,8 +67,7 @@ static int proc_get_sb(struct file_system_type *fs_type,
sb->s_flags = flags;
err = proc_fill_super(sb);
if (err) {
- up_write(&sb->s_umount);
- deactivate_super(sb);
+ deactivate_locked_super(sb);
return err;
}