Home
last modified time | relevance | path

Searched refs:metacopy (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/overlayfs/
Dnamei.c25 bool metacopy; member
247 if (last_element && d->metacopy && !d_is_reg(this)) { in ovl_lookup_single()
260 d->metacopy = err; in ovl_lookup_single()
261 d->stop = !d->metacopy; in ovl_lookup_single()
262 if (!d->metacopy || d->last) in ovl_lookup_single()
844 .metacopy = false, in ovl_lookup()
877 if (d.metacopy) in ovl_lookup()
915 if ((uppermetacopy || d.metacopy) && !ofs->config.metacopy) { in ovl_lookup()
956 if (d.metacopy && ctr) { in ovl_lookup()
1006 if (d.metacopy || (uppermetacopy && !ctr)) { in ovl_lookup()
Dsuper.c65 module_param_named(metacopy, ovl_metacopy_def, bool, 0644);
66 MODULE_PARM_DESC(metacopy,
381 if (ofs->config.metacopy != ovl_metacopy_def) in ovl_show_options()
383 ofs->config.metacopy ? "on" : "off"); in ovl_show_options()
592 config->metacopy = true; in ovl_parse_opt()
597 config->metacopy = false; in ovl_parse_opt()
644 if (config->metacopy && !config->redirect_dir) { in ovl_parse_opt()
657 config->metacopy = false; in ovl_parse_opt()
686 if (config->nfs_export && config->metacopy) { in ovl_parse_opt()
704 config->metacopy = false; in ovl_parse_opt()
[all …]
Dcopy_up.c447 bool metacopy; member
498 if (S_ISREG(c->stat.mode) && !c->metacopy) { in ovl_copy_up_inode()
530 if (c->metacopy) { in ovl_copy_up_inode()
629 if (!c->metacopy) in ovl_copy_up_workdir()
681 if (!c->metacopy) in ovl_copy_up_tmpfile()
778 if (!ofs->config.metacopy) in ovl_need_meta_copy_up()
885 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); in ovl_copy_up_one()
DKconfig118 possible to turn off this feature globally with the "metacopy=off"
120 "metacopy=off" mount option.
123 mounting an overlay which has metacopy only inodes on a kernel
Dovl_entry.h19 bool metacopy; member
/kernel/linux/linux-5.10/Documentation/filesystems/
Doverlayfs.rst358 parameter metacopy=on/off. Lastly, there is also a per mount option
359 metacopy=on/off to enable/disable this feature per mount.
361 Do not use metacopy=on with untrusted upper/lower directories. Otherwise
369 conflict with metacopy=on, and will result in an error.
371 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is