Lines Matching refs:upperdir

250 	kfree(ofs->config.upperdir);
366 if (ofs->config.upperdir) {
367 seq_show_option(m, "upperdir", ofs->config.upperdir);
443 {OPT_UPPERDIR, "upperdir=%s"},
527 kfree(config->upperdir);
528 config->upperdir = match_strdup(&args[0]);
529 if (!config->upperdir)
613 if (!config->upperdir) {
627 if (!config->upperdir && config->ovl_volatile) {
640 if (!config->upperdir && config->redirect_follow)
666 if (!config->upperdir && config->redirect_follow) {
857 pr_err("filesystem on '%s' not supported as upperdir\n",
903 (ofs->config.index && ofs->config.upperdir)) && !fh_type) {
917 /* Workdir should not be subdir of upperdir and vice versa */
918 static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir)
922 if (workdir != upperdir) {
923 ok = (lock_rename(workdir, upperdir) == NULL);
924 unlock_rename(workdir, upperdir);
1102 * Determine how we treat concurrent use of upperdir/workdir based on the
1104 * for example, an old overlay mount is leaked and now its upperdir is
1110 pr_err("%s is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection.\n",
1114 pr_warn("%s is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.\n",
1126 err = ovl_mount_dir(ofs->config.upperdir, upperpath);
1137 err = ovl_check_namelen(upperpath, ofs, ofs->config.upperdir);
1142 "upperdir");
1160 * Inherit SB_NOSEC flag from upperdir.
1174 err = ovl_report_in_use(ofs, "upperdir");
1411 pr_err("workdir and upperdir must reside under the same mount\n");
1415 pr_err("workdir and upperdir must be separate subtrees\n");
1628 * checking if it is in-use as upperdir/workdir of "another"
1630 * the upperdir/workdir is in fact in-use by our
1631 * upperdir/workdir.
1714 if (!ofs->config.upperdir && numlower == 1) {
1715 pr_err("at least 2 lowerdir are needed while upperdir nonexistent\n");
1810 "upperdir", false);
1952 if (ofs->config.upperdir) {
1969 pr_err("Cannot mount volatile when upperdir has an unseen error. Sync upperdir fs to clear state.\n");