From: Miklos Szeredi Subject: [patch 13/26] mount options: fix fat Date: Thu, 24 Jan 2008 20:33:54 +0100 Message-ID: <20080124193434.384314156@szeredi.hu> References: <20080124193341.166753833@szeredi.hu> Cc: OGAWA Hirofumi To: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from fxip-0047f.externet.hu ([88.209.222.127]:46550 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756174AbYAXTei (ORCPT ); Thu, 24 Jan 2008 14:34:38 -0500 Content-Disposition: inline; filename=fat_opts.patch Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Miklos Szeredi Add flush option to /proc/mounts for msdos and vfat filesystems. Signed-off-by: Miklos Szeredi --- Index: linux/fs/fat/inode.c =================================================================== --- linux.orig/fs/fat/inode.c 2008-01-17 19:00:55.000000000 +0100 +++ linux/fs/fat/inode.c 2008-01-21 19:00:40.000000000 +0100 @@ -837,6 +837,8 @@ static int fat_show_options(struct seq_f if (!opts->numtail) seq_puts(m, ",nonumtail"); } + if (sbi->options.flush) + seq_puts(m, ",flush"); return 0; } --