diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2013-09-18 12:39:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-05 07:13:09 -0700 |
commit | d8a1cf0bdbf668951b3ad4dfea4cde19c3fbe432 (patch) | |
tree | 146b722502418e713b6361efdcf630df5507614a /fs/sysv/super.c | |
parent | 9204e9dd40ce207074419e60f66922ce47bb1b79 (diff) | |
download | linux-3.10-d8a1cf0bdbf668951b3ad4dfea4cde19c3fbe432.tar.gz linux-3.10-d8a1cf0bdbf668951b3ad4dfea4cde19c3fbe432.tar.bz2 linux-3.10-d8a1cf0bdbf668951b3ad4dfea4cde19c3fbe432.zip |
sysv: Add forgotten superblock lock init for v7 fs
commit 49475555848d396a0c78fb2f8ecceb3f3f263ef1 upstream.
Superblock lock was replaced with (un)lock_super() removal, but left
uninitialized for Seventh Edition UNIX filesystem in the following commit (3.7):
c07cb01 sysv: drop lock/unlock super
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysv/super.c')
-rw-r--r-- | fs/sysv/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysv/super.c b/fs/sysv/super.c index d0c6a007ce8..eda10959714 100644 --- a/fs/sysv/super.c +++ b/fs/sysv/super.c @@ -487,6 +487,7 @@ static int v7_fill_super(struct super_block *sb, void *data, int silent) sbi->s_sb = sb; sbi->s_block_base = 0; sbi->s_type = FSTYPE_V7; + mutex_init(&sbi->s_lock); sb->s_fs_info = sbi; sb_set_blocksize(sb, 512); |