On Tue, Nov 22, 2016 at 10:47 AM, Amir Goldstein <amir73il@xxxxxxxxx> wrote: > When redirect_dir option is turned off or on by mount > option to override the module default param value, > show the value of redirect_dir in /proc/mounts. Added. Thanks, Miklos > > Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> > --- > fs/overlayfs/super.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c > index 2aa2da4..82c54ca 100644 > --- a/fs/overlayfs/super.c > +++ b/fs/overlayfs/super.c > @@ -228,6 +228,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_default) > + seq_printf(m, ",redirect_dir=%s", > + ufs->config.redirect_dir ? "on" : "off"); > return 0; > } > > -- > 2.7.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html