提交 e4f95517 编写于 作者: F Fabian Frederick 提交者: Al Viro

fs/ufs: restore s_lock mutex_init()

Add last missing line in commit "cdd9eefd"
("fs/ufs: restore s_lock mutex")
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 70d45cdb
...@@ -801,6 +801,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -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)); UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY));
mutex_init(&sbi->mutex); mutex_init(&sbi->mutex);
mutex_init(&sbi->s_lock);
spin_lock_init(&sbi->work_lock); spin_lock_init(&sbi->work_lock);
INIT_DELAYED_WORK(&sbi->sync_work, delayed_sync_fs); INIT_DELAYED_WORK(&sbi->sync_work, delayed_sync_fs);
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册