commit | 6f5bbff9a1b7d6864a495763448a363bbfa96324 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed May 06 01:34:22 2009 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat May 09 10:49:40 2009 -0400 |
tree | 0067dca46f40def1c55541c34c262e06aeb8c4c8 | |
parent | 74dbbdd7fdc11763f4698d2f3e684cf4446951e6 [diff] [blame] |
Convert obvious places to deactivate_locked_super() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 355e0ef..5e6d358 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c
@@ -602,8 +602,7 @@ rc = cifs_read_super(sb, data, dev_name, flags & MS_SILENT ? 1 : 0); if (rc) { - up_write(&sb->s_umount); - deactivate_super(sb); + deactivate_locked_super(sb); return rc; } sb->s_flags |= MS_ACTIVE;