diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-06 09:34:22 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-09 18:49:40 +0400 |
commit | 6f5bbff9a1b7d6864a495763448a363bbfa96324 (patch) | |
tree | 0067dca46f40def1c55541c34c262e06aeb8c4c8 /fs/cifs | |
parent | 74dbbdd7fdc11763f4698d2f3e684cf4446951e6 (diff) | |
download | linux-6f5bbff9a1b7d6864a495763448a363bbfa96324.tar.xz |
Convert obvious places to deactivate_locked_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 355e0efec0cf..5e6d35804d73 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -602,8 +602,7 @@ cifs_get_sb(struct file_system_type *fs_type, 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; |