hostfs: Report append flag in ->show_options()
hostfs has an "append" mount option. Report it. Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
7c9509924c
commit
7f74a66879
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue