diff options
author | Marco Stornelli <marco.stornelli@gmail.com> | 2012-10-06 06:41:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-09 23:33:39 -0400 |
commit | c07cb01c45d6f5f80da63e0b17dca889dba48cc1 (patch) | |
tree | 5f1ed5896c0a791deee0d6b12eb66a43bebcf421 /fs/sysv/super.c | |
parent | f6e12dc4fc6f78745fd48a24ff2f06efb0bdeb0d (diff) |
sysv: drop lock/unlock super
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 7491c33b6468..a38e87bdd78d 100644 --- a/fs/sysv/super.c +++ b/fs/sysv/super.c | |||
@@ -368,6 +368,7 @@ static int sysv_fill_super(struct super_block *sb, void *data, int silent) | |||
368 | 368 | ||
369 | sbi->s_sb = sb; | 369 | sbi->s_sb = sb; |
370 | sbi->s_block_base = 0; | 370 | sbi->s_block_base = 0; |
371 | mutex_init(&sbi->s_lock); | ||
371 | sb->s_fs_info = sbi; | 372 | sb->s_fs_info = sbi; |
372 | 373 | ||
373 | sb_set_blocksize(sb, BLOCK_SIZE); | 374 | sb_set_blocksize(sb, BLOCK_SIZE); |