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:
3ea22a7
)
ovl: show redirect_dir mount option
author
Amir Goldstein
<amir73il@gmail.com>
Tue, 22 Nov 2016 09:47:09 +0000
(11:47 +0200)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:57 +0000
(11:02 +0100)
Show the value of redirect_dir in /proc/mounts.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/overlayfs/super.c
b/fs/overlayfs/super.c
index 2750aef24d166455505413874ece6c5980b8aa74..4bd1e9c7246f6cff10fba6245cdbdd233e8fb66b 100644
(file)
--- a/
fs/overlayfs/super.c
+++ b/
fs/overlayfs/super.c
@@
-204,6
+204,9
@@
static int ovl_show_options(struct seq_file *m, struct dentry *dentry)
}
if (ufs->config.default_permissions)
seq_puts(m, ",default_permissions");
+ if (ufs->config.redirect_dir != ovl_redirect_dir_def)
+ seq_printf(m, ",redirect_dir=%s",
+ ufs->config.redirect_dir ? "on" : "off");
return 0;
}