Skip to content

Commit

Permalink
hostfs: Report append flag in ->show_options()
Browse files Browse the repository at this point in the history
hostfs has an "append" mount option. Report it.

Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
richardweinberger committed Mar 26, 2015
1 parent 7c95099 commit 7f74a66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7f74a66

Please sign in to comment.