From: Miklos Szeredi Date: Fri, 8 Feb 2008 12:21:42 +0000 (-0800) Subject: mount options: fix fat X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1fca3b6090f45018b3754eff0276521edb8ac3e;p=openwrt%2Fstaging%2Fblogic.git mount options: fix fat Add flush option to /proc/mounts for msdos and vfat filesystems. Signed-off-by: Miklos Szeredi Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 085269e07fb3..53f3cf62b7c1 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -837,6 +837,8 @@ static int fat_show_options(struct seq_file *m, struct vfsmount *mnt) if (!opts->numtail) seq_puts(m, ",nonumtail"); } + if (sbi->options.flush) + seq_puts(m, ",flush"); return 0; }