From: Richard Weinberger Date: Tue, 3 Mar 2015 23:00:54 +0000 (+0100) Subject: hostfs: Report append flag in ->show_options() X-Git-Tag: v4.1-rc1~121^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f74a6687992f29c14b98a7bc8d5d924d5883434;p=karo-tx-linux.git hostfs: Report append flag in ->show_options() hostfs has an "append" mount option. Report it. Signed-off-by: Richard Weinberger --- diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index c60d886230ef..06b3e3f47c0e 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -262,6 +262,9 @@ static int hostfs_show_options(struct seq_file *seq, struct dentry *root) if (strlen(root_path) > offset) seq_printf(seq, ",%s", root_path + offset); + if (append) + seq_puts(seq, ",append"); + return 0; }