summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-06-17 18:15:45 +0200
committerSasha Levin <sasha.levin@oracle.com>2015-07-20 21:12:44 -0400
commitb3ba162c05c8c7097bd58c468bb6f59ef890226b (patch)
tree420a9d342b111e81dce3bf60badb212435aa1d67
parent427786d3e35a8c9edbe6e4560d5db3d5e399e317 (diff)
downloadlwn-b3ba162c05c8c7097bd58c468bb6f59ef890226b.tar.gz
lwn-b3ba162c05c8c7097bd58c468bb6f59ef890226b.zip
fs/ufs: restore s_lock mutex_init()
[ Upstream commit e4f95517f18271b1da36cfc5d700e46844396d6e ] Add last missing line in commit "cdd9eefdf905" ("fs/ufs: restore s_lock mutex") Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-rw-r--r--fs/ufs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index aa7d50b4e287..ce02dff5572f 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -805,6 +805,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY));
mutex_init(&sbi->mutex);
+ mutex_init(&sbi->s_lock);
spin_lock_init(&sbi->work_lock);
INIT_DELAYED_WORK(&sbi->sync_work, delayed_sync_fs);
/*