diff options
Diffstat (limited to 'fs/sysv/ialloc.c')
-rw-r--r-- | fs/sysv/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/ialloc.c b/fs/sysv/ialloc.c index 53f1b78996dd..eb963fbb7903 100644 --- a/fs/sysv/ialloc.c +++ b/fs/sysv/ialloc.c | |||
@@ -220,7 +220,7 @@ Einval: | |||
220 | printk("sysv_count_free_inodes: " | 220 | printk("sysv_count_free_inodes: " |
221 | "free inode count was %d, correcting to %d\n", | 221 | "free inode count was %d, correcting to %d\n", |
222 | sb_count, count); | 222 | sb_count, count); |
223 | if (!(sb->s_flags & MS_RDONLY)) { | 223 | if (!sb_rdonly(sb)) { |
224 | *sbi->s_sb_total_free_inodes = cpu_to_fs16(SYSV_SB(sb), count); | 224 | *sbi->s_sb_total_free_inodes = cpu_to_fs16(SYSV_SB(sb), count); |
225 | dirty_sb(sb); | 225 | dirty_sb(sb); |
226 | } | 226 | } |