summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-04 00:00:54 +0100
committerRichard Weinberger <richard@nod.at>2015-03-26 23:27:51 +0100
commit7f74a6687992f29c14b98a7bc8d5d924d5883434 (patch)
tree5b5009661468dfc55ebdb88557199938d70bc8fc /fs
parent7c9509924c711d45d7932548d2c632f44f64e7e3 (diff)
hostfs: Report append flag in ->show_options()
hostfs has an "append" mount option. Report it. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs')
-rw-r--r--fs/hostfs/hostfs_kern.c3
1 files changed, 3 insertions, 0 deletions
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;
}