diff options
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/super.c | 2 | ||||
-rw-r--r-- | fs/nilfs2/the_nilfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 896b463cc3c..0cdbc5e7655 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -866,7 +866,7 @@ static int nilfs_remount(struct super_block *sb, int *flags, char *data) | |||
866 | if ((*flags & MS_RDONLY) && | 866 | if ((*flags & MS_RDONLY) && |
867 | sbi->s_snapshot_cno != old_opts.snapshot_cno) { | 867 | sbi->s_snapshot_cno != old_opts.snapshot_cno) { |
868 | printk(KERN_WARNING "NILFS (device %s): couldn't " | 868 | printk(KERN_WARNING "NILFS (device %s): couldn't " |
869 | "remount to a different snapshot. \n", | 869 | "remount to a different snapshot.\n", |
870 | sb->s_id); | 870 | sb->s_id); |
871 | err = -EINVAL; | 871 | err = -EINVAL; |
872 | goto restore_opts; | 872 | goto restore_opts; |
diff --git a/fs/nilfs2/the_nilfs.c b/fs/nilfs2/the_nilfs.c index 92733d5651d..33871f7e4f0 100644 --- a/fs/nilfs2/the_nilfs.c +++ b/fs/nilfs2/the_nilfs.c | |||
@@ -386,7 +386,7 @@ static int nilfs_store_disk_layout(struct the_nilfs *nilfs, | |||
386 | 386 | ||
387 | nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment); | 387 | nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment); |
388 | if (nilfs->ns_blocks_per_segment < NILFS_SEG_MIN_BLOCKS) { | 388 | if (nilfs->ns_blocks_per_segment < NILFS_SEG_MIN_BLOCKS) { |
389 | printk(KERN_ERR "NILFS: too short segment. \n"); | 389 | printk(KERN_ERR "NILFS: too short segment.\n"); |
390 | return -EINVAL; | 390 | return -EINVAL; |
391 | } | 391 | } |
392 | 392 | ||