From: Al Viro Date: Sun, 21 Mar 2010 23:22:29 +0000 (-0400) Subject: ceph: should use deactivate_locked_super() on failure exits X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3981f2e2a04df4b95129ddbb8bb869ef1d57bea9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ceph: should use deactivate_locked_super() on failure exits Signed-off-by: Al Viro --- 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: