aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-06-17 12:15:45 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-10 12:49:39 -0400
commit4e1fc88c6112cb9b691807cc4fe0b6bfa66b1e60 (patch)
tree099f583e5de7f06c0609ff6fc44b8c24e6a6e9b5 /fs
parentb94332a90b6572713d0a4ca92563e9655a7dd33d (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>
Diffstat (limited to 'fs')
-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)
801 UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY)); 801 UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY));
802 802
803 mutex_init(&sbi->mutex); 803 mutex_init(&sbi->mutex);
804 mutex_init(&sbi->s_lock);
804 spin_lock_init(&sbi->work_lock); 805 spin_lock_init(&sbi->work_lock);
805 INIT_DELAYED_WORK(&sbi->sync_work, delayed_sync_fs); 806 INIT_DELAYED_WORK(&sbi->sync_work, delayed_sync_fs);
806 /* 807 /*