diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-06 07:34:22 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-09 16:49:40 +0200 |
commit | 6f5bbff9a1b7d6864a495763448a363bbfa96324 (patch) | |
tree | 0067dca46f40def1c55541c34c262e06aeb8c4c8 /fs/libfs.c | |
parent | New helper: deactivate_locked_super() (diff) | |
download | linux-6f5bbff9a1b7d6864a495763448a363bbfa96324.tar.xz linux-6f5bbff9a1b7d6864a495763448a363bbfa96324.zip |
Convert obvious places to deactivate_locked_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/libfs.c')
-rw-r--r-- | fs/libfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/libfs.c b/fs/libfs.c index cd223190c4e9..80046ddf5063 100644 --- a/fs/libfs.c +++ b/fs/libfs.c @@ -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; } |