Lines Matching refs:upperdir

403 	     (ofs->config.index && ofs->config.upperdir)) && !fh_type) {
415 ofs->config.upperdir && !fh_type) {
428 /* Workdir should not be subdir of upperdir and vice versa */
429 static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir)
433 if (workdir != upperdir) {
434 ok = (lock_rename(workdir, upperdir) == NULL);
435 unlock_rename(workdir, upperdir);
521 * Determine how we treat concurrent use of upperdir/workdir based on the
523 * for example, an old overlay mount is leaked and now its upperdir is
529 pr_err("%s is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection.\n",
533 pr_warn("%s is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.\n",
553 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir);
558 "upperdir");
576 * Inherit SB_NOSEC flag from upperdir.
590 err = ovl_report_in_use(ofs, "upperdir");
851 pr_err("workdir and upperdir must reside under the same mount\n");
855 pr_err("workdir and upperdir must be separate subtrees\n");
1087 * checking if it is in-use as upperdir/workdir of "another"
1089 * the upperdir/workdir is in fact in-use by our
1090 * upperdir/workdir.
1178 if (!ofs->config.upperdir && ctx->nr == 1) {
1179 pr_err("at least 2 lowerdir are needed while upperdir nonexistent\n");
1266 "upperdir", false);
1399 if (ofs->config.upperdir) {
1417 pr_err("Cannot mount volatile when upperdir has an unseen error. Sync upperdir fs to clear state.\n");