aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-02-08 07:21:42 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:40 -0500
commitc1fca3b6090f45018b3754eff0276521edb8ac3e (patch)
treee50837cbc6686274259cd5eab5b525e892a6ff09 /fs
parent35c879dc302cc08cbbf108deb2be1c2859da0d18 (diff)
mount options: fix fat
Add flush option to /proc/mounts for msdos and vfat filesystems. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/fat/inode.c2
1 files changed, 2 insertions, 0 deletions
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)
837 if (!opts->numtail) 837 if (!opts->numtail)
838 seq_puts(m, ",nonumtail"); 838 seq_puts(m, ",nonumtail");
839 } 839 }
840 if (sbi->options.flush)
841 seq_puts(m, ",flush");
840 842
841 return 0; 843 return 0;
842} 844}