From 3981f2e2a04df4b95129ddbb8bb869ef1d57bea9 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 21 Mar 2010 19:22:29 -0400 Subject: [PATCH] ceph: should use deactivate_locked_super() on failure exits Signed-off-by: Al Viro --- fs/ceph/super.c | 3 +-- 1 file changed, 1 insertion(+), 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: -- 2.20.1