mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
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
@ -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…
x
Reference in New Issue
Block a user