diff options
author | Joern Engel <joern@logfs.org> | 2010-03-26 14:50:08 +0100 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2010-03-27 11:19:16 +0100 |
commit | 6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd (patch) | |
tree | 45315bd36137b377697dc5ec908796000643cfda | |
parent | 7db8064c17b92e95aec2e333096c035db9ddd4fe (diff) | |
download | linux-3.10-6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd.tar.gz linux-3.10-6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd.tar.bz2 linux-3.10-6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd.zip |
Use deactivate_locked_super
Found by Al Viro.
Signed-off-by: Joern Engel <joern@logfs.org>
-rw-r--r-- | fs/logfs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/logfs/super.c b/fs/logfs/super.c index 2845c41d70d..9d856c49afc 100644 --- a/fs/logfs/super.c +++ b/fs/logfs/super.c @@ -572,8 +572,7 @@ int logfs_get_sb_device(struct file_system_type *type, int flags, return 0; err1: - up_write(&sb->s_umount); - deactivate_super(sb); + deactivate_locked_super(sb); return err; err0: kfree(super); |