From: Joern Engel Date: Fri, 26 Mar 2010 13:50:08 +0000 (+0100) Subject: Use deactivate_locked_super X-Git-Tag: v2.6.34-rc3~3^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd;p=platform%2Fkernel%2Flinux-3.10.git Use deactivate_locked_super Found by Al Viro. Signed-off-by: Joern Engel --- diff --git a/fs/logfs/super.c b/fs/logfs/super.c index 2845c41..9d856c4 100644 --- a/fs/logfs/super.c +++ b/fs/logfs/super.c @@ -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);