Skip to content

Commit

Permalink
ceph: should use deactivate_locked_super() on failure exits
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed May 21, 2010
1 parent 2ccde7c commit 3981f2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3981f2e

Please sign in to comment.