diff options
Diffstat (limited to 'fs/sysv/inode.c')
| -rw-r--r-- | fs/sysv/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index d33e506c1eac..c327d4ee1235 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c | |||
| @@ -36,7 +36,7 @@ static int sysv_sync_fs(struct super_block *sb, int wait) | |||
| 36 | struct sysv_sb_info *sbi = SYSV_SB(sb); | 36 | struct sysv_sb_info *sbi = SYSV_SB(sb); |
| 37 | unsigned long time = get_seconds(), old_time; | 37 | unsigned long time = get_seconds(), old_time; |
| 38 | 38 | ||
| 39 | lock_super(sb); | 39 | mutex_lock(&sbi->s_lock); |
| 40 | 40 | ||
| 41 | /* | 41 | /* |
| 42 | * If we are going to write out the super block, | 42 | * If we are going to write out the super block, |
| @@ -51,7 +51,7 @@ static int sysv_sync_fs(struct super_block *sb, int wait) | |||
| 51 | mark_buffer_dirty(sbi->s_bh2); | 51 | mark_buffer_dirty(sbi->s_bh2); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | unlock_super(sb); | 54 | mutex_unlock(&sbi->s_lock); |
| 55 | 55 | ||
| 56 | return 0; | 56 | return 0; |
| 57 | } | 57 | } |
