Browse Source

hostfs: Report append flag in ->show_options()

hostfs has an "append" mount option. Report it.

Signed-off-by: Richard Weinberger <richard@nod.at>
Richard Weinberger 10 years ago
parent
commit
7f74a66879
1 changed files with 3 additions and 0 deletions
  1. 3 0
      fs/hostfs/hostfs_kern.c

+ 3 - 0
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)
 	if (strlen(root_path) > offset)
 		seq_printf(seq, ",%s", root_path + offset);
 		seq_printf(seq, ",%s", root_path + offset);
 
 
+	if (append)
+		seq_puts(seq, ",append");
+
 	return 0;
 	return 0;
 }
 }