sysv: Add forgotten superblock lock init for v7 fs
commit4947555584upstream. Superblock lock was replaced with (un)lock_super() removal, but left uninitialized for Seventh Edition UNIX filesystem in the following commit (3.7):c07cb01sysv: 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>
This commit is contained in:
parent
9204e9dd40
commit
d8a1cf0bdb
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue