hostfs: Report append flag in ->show_options()
authorRichard Weinberger <richard@nod.at>
Tue, 3 Mar 2015 23:00:54 +0000 (00:00 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 22:27:51 +0000 (23:27 +0100)
hostfs has an "append" mount option. Report it.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c

index c60d886..06b3e3f 100644 (file)
@@ -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;
 }