Skip to content

Commit

Permalink
Use deactivate_locked_super
Browse files Browse the repository at this point in the history
Found by Al Viro.

Signed-off-by: Joern Engel <joern@logfs.org>
  • Loading branch information
Joern Engel committed Mar 27, 2010
1 parent 7db8064 commit 6f2e9e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/logfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ int logfs_get_sb_device(struct file_system_type *type, int flags,
return 0;

err1:
up_write(&sb->s_umount);
deactivate_super(sb);
deactivate_locked_super(sb);
return err;
err0:
kfree(super);
Expand Down

0 comments on commit 6f2e9e6

Please sign in to comment.