From: Joern Engel Date: Fri, 26 Mar 2010 13:50:08 +0000 (+0100) Subject: Use deactivate_locked_super X-Git-Tag: MMI-PSA29.97-13-9~24109^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 2845c41d70d4..9d856c49afc5 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);