diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-21 19:22:29 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:13 -0400 |
commit | 3981f2e2a04df4b95129ddbb8bb869ef1d57bea9 (patch) | |
tree | 56b59b8e02b8a505f70126cbe98b81a6c798de83 /fs | |
parent | 2ccde7c631f992bf79da8007b5fc8b6425eb0d6d (diff) | |
download | linux-3981f2e2a04df4b95129ddbb8bb869ef1d57bea9.tar.gz linux-3981f2e2a04df4b95129ddbb8bb869ef1d57bea9.tar.bz2 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 'fs')
-rw-r--r-- | fs/ceph/super.c | 3 |
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: |