summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-06-17 18:15:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-10 09:45:44 -0700
commit0152a0c9c115eed32f6f19d6e08a5d968276a410 (patch)
tree6736df4f156df64bac9d5172cb23d7a40e9d35c4
parent3ef789202d627d5e9ae01d22eb1a6b682318c69f (diff)
fs/ufs: restore s_lock mutex_init()
commit e4f95517f18271b1da36cfc5d700e46844396d6e upstream. 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 05fcf0a1ed3d..eb1679176cbc 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -801,6 +801,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);
/*