diff options
author | Marco Stornelli <marco.stornelli@gmail.com> | 2012-10-06 12:41:46 +0200 |
---|---|---|
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) | |
download | talos-op-linux-c07cb01c45d6f5f80da63e0b17dca889dba48cc1.tar.gz talos-op-linux-c07cb01c45d6f5f80da63e0b17dca889dba48cc1.zip |
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) sbi->s_sb = sb; sbi->s_block_base = 0; + mutex_init(&sbi->s_lock); sb->s_fs_info = sbi; sb_set_blocksize(sb, BLOCK_SIZE); |