fs/ufs: restore s_lock mutex_init()
authorFabian Frederick <fabf@skynet.be>
Wed, 17 Jun 2015 16:15:45 +0000 (18:15 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Jun 2015 18:43:02 +0000 (14:43 -0400)
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>
fs/ufs/super.c

index afe9955654c87f197c549d282609400db006213c..dc33f94163404f04155cddb7a76eae84c96df42b 100644 (file)
@@ -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);
        /*