summaryrefslogtreecommitdiffstats
path: root/fs/ufs
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
parent70d45cdb664390a5573c05f1eecc8432dcc6581b (diff)
downloadop-kernel-dev-e4f95517f18271b1da36cfc5d700e46844396d6e.zip
op-kernel-dev-e4f95517f18271b1da36cfc5d700e46844396d6e.tar.gz
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')
-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 afe9955..dc33f94 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);
/*
OpenPOWER on IntegriCloud