Skip to content

Commit b4da3c4

Browse files
Fabian Frederickpopcornmix
Fabian Frederick
authored andcommitted
fs/ufs: restore s_lock mutex_init()
commit e4f9551 upstream. Add last missing line in commit "cdd9eefdf905" ("fs/ufs: restore s_lock mutex") Signed-off-by: Fabian Frederick <[email protected]> Signed-off-by: Al Viro <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 06fddc9 commit b4da3c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/ufs/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
801801
UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY));
802802

803803
mutex_init(&sbi->mutex);
804+
mutex_init(&sbi->s_lock);
804805
spin_lock_init(&sbi->work_lock);
805806
INIT_DELAYED_WORK(&sbi->sync_work, delayed_sync_fs);
806807
/*

0 commit comments

Comments
 (0)