summaryrefslogtreecommitdiffstats
path: root/fs/fat/inode.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-02-08 13:21:42 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 18:22:40 +0100
commitc1fca3b6090f45018b3754eff0276521edb8ac3e (patch)
treee50837cbc6686274259cd5eab5b525e892a6ff09 /fs/fat/inode.c
parentmount options: fix ext2 (diff)
downloadlinux-c1fca3b6090f45018b3754eff0276521edb8ac3e.tar.xz
linux-c1fca3b6090f45018b3754eff0276521edb8ac3e.zip
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 '')
-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)
if (!opts->numtail)
seq_puts(m, ",nonumtail");
}
+ if (sbi->options.flush)
+ seq_puts(m, ",flush");
return 0;
}