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-Tag: v3.0~4890^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3981f2e2a04df4b95129ddbb8bb869ef1d57bea9;p=platform%2Fkernel%2Flinux-amlogic.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 110857b..9307bbe 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: