X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fnilfs2%2Fsuper.c;h=48145f505a6a8e7dbd33c8435b259a0e828a3f8c;hb=91677467163b847f1a5497789a893ada97f375b6;hp=92579cc4c93532de14509e049071874e6f72e7eb;hpb=56b78921c32ae825c596c158e74ab48c0e8e280d;p=linux-2.6-block.git diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 92579cc4c935..48145f505a6a 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c @@ -436,7 +436,7 @@ static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf) /* * Compute the overhead * - * When distributing meta data blocks outside semgent structure, + * When distributing meta data blocks outside segment structure, * We must count them as the overhead. */ overhead = 0; @@ -749,6 +749,7 @@ nilfs_fill_super(struct super_block *sb, void *data, int silent, sb->s_export_op = &nilfs_export_ops; sb->s_root = NULL; sb->s_time_gran = 1; + sb->s_bdi = nilfs->ns_bdi; err = load_nilfs(nilfs, sbi); if (err) @@ -866,7 +867,7 @@ static int nilfs_remount(struct super_block *sb, int *flags, char *data) if ((*flags & MS_RDONLY) && sbi->s_snapshot_cno != old_opts.snapshot_cno) { printk(KERN_WARNING "NILFS (device %s): couldn't " - "remount to a different snapshot. \n", + "remount to a different snapshot.\n", sb->s_id); err = -EINVAL; goto restore_opts;