Convert obvious places to deactivate_locked_super()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2009-05-06 01:34:22 -04:00
commit 6f5bbff9a1
12 changed files with 21 additions and 42 deletions

View file

@ -405,8 +405,7 @@ static int afs_get_sb(struct file_system_type *fs_type,
sb->s_flags = flags;
ret = afs_fill_super(sb, &params);
if (ret < 0) {
up_write(&sb->s_umount);
deactivate_super(sb);
deactivate_locked_super(sb);
goto error;
}
sb->s_options = new_opts;