Skip to content

Commit

Permalink
fs/ufs: restore s_lock mutex_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and Al Viro committed Jun 17, 2015
1 parent 70d45cd commit e4f9551
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ufs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
/*
Expand Down

0 comments on commit e4f9551

Please sign in to comment.