projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c95099
)
hostfs: Report append flag in ->show_options()
author
Richard Weinberger
<richard@nod.at>
Tue, 3 Mar 2015 23:00:54 +0000
(
00:00
+0100)
committer
Richard 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/hostfs/hostfs_kern.c
b/fs/hostfs/hostfs_kern.c
index c60d886230efedeff9cbad1996bd6f5b4d3f662a..06b3e3f47c0ee4e714f37a5a10d0425035893586 100644
(file)
--- a/
fs/hostfs/hostfs_kern.c
+++ b/
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)
seq_printf(seq, ",%s", root_path + offset);
+ if (append)
+ seq_puts(seq, ",append");
+
return 0;
}