summaryrefslogtreecommitdiff
path: root/fs/ufs
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:49:39 -0700
commit4e1fc88c6112cb9b691807cc4fe0b6bfa66b1e60 (patch)
tree099f583e5de7f06c0609ff6fc44b8c24e6a6e9b5 /fs/ufs
parentb94332a90b6572713d0a4ca92563e9655a7dd33d (diff)
downloadlwn-4e1fc88c6112cb9b691807cc4fe0b6bfa66b1e60.tar.gz
lwn-4e1fc88c6112cb9b691807cc4fe0b6bfa66b1e60.zip
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>
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 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);
/*