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

@ -246,8 +246,7 @@ int get_sb_pseudo(struct file_system_type *fs_type, char *name,
return 0;
Enomem:
up_write(&s->s_umount);
deactivate_super(s);
deactivate_locked_super(s);
return -ENOMEM;
}