forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
70d45cdb66
commit
e4f95517f1
|
@ -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);
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user