summaryrefslogtreecommitdiff
path: root/fs/ufs/super.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-06-17 18:15:45 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2015-06-17 14:43:02 -0400
commite4f95517f18271b1da36cfc5d700e46844396d6e (patch)
treef4552b811080dd9ed984babc5f2e622976a9c080 /fs/ufs/super.c
parent70d45cdb664390a5573c05f1eecc8432dcc6581b (diff)
downloadlwn-e4f95517f18271b1da36cfc5d700e46844396d6e.tar.gz
lwn-e4f95517f18271b1da36cfc5d700e46844396d6e.zip
fs/ufs: restore s_lock mutex_init()
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>
Diffstat (limited to 'fs/ufs/super.c')
-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 afe9955654c8..dc33f9416340 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);
/*