summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-03-22 00:22:29 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-22 00:31:13 +0200
commit3981f2e2a04df4b95129ddbb8bb869ef1d57bea9 (patch)
tree56b59b8e02b8a505f70126cbe98b81a6c798de83 /fs/ceph/super.c
parentClean ecryptfs ->get_sb() up (diff)
downloadlinux-3981f2e2a04df4b95129ddbb8bb869ef1d57bea9.tar.xz
linux-3981f2e2a04df4b95129ddbb8bb869ef1d57bea9.zip
ceph: should use deactivate_locked_super() on failure exits
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--fs/ceph/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 110857ba9269..9307bbee6fbe 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -952,8 +952,7 @@ static int ceph_get_sb(struct file_system_type *fs_type,
out_splat:
ceph_mdsc_close_sessions(&client->mdsc);
- up_write(&sb->s_umount);
- deactivate_super(sb);
+ deactivate_locked_super(sb);
goto out_final;
out: