Commit 3981f2e2 authored by Al Viro's avatar Al Viro

ceph: should use deactivate_locked_super() on failure exits

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2ccde7c6
...@@ -952,8 +952,7 @@ static int ceph_get_sb(struct file_system_type *fs_type, ...@@ -952,8 +952,7 @@ static int ceph_get_sb(struct file_system_type *fs_type,
out_splat: out_splat:
ceph_mdsc_close_sessions(&client->mdsc); ceph_mdsc_close_sessions(&client->mdsc);
up_write(&sb->s_umount); deactivate_locked_super(sb);
deactivate_super(sb);
goto out_final; goto out_final;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment