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) |
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, | |||
952 | 952 | ||
953 | out_splat: | 953 | out_splat: |
954 | ceph_mdsc_close_sessions(&client->mdsc); | 954 | ceph_mdsc_close_sessions(&client->mdsc); |
955 | up_write(&sb->s_umount); | 955 | deactivate_locked_super(sb); |
956 | deactivate_super(sb); | ||
957 | goto out_final; | 956 | goto out_final; |
958 | 957 | ||
959 | out: | 958 | out: |