Lines Matching defs:whiteout
68 struct dentry *whiteout;
72 if (!ofs->whiteout) {
73 whiteout = ovl_lookup_temp(workdir);
74 if (IS_ERR(whiteout))
77 err = ovl_do_whiteout(wdir, whiteout);
79 dput(whiteout);
80 whiteout = ERR_PTR(err);
83 ofs->whiteout = whiteout;
87 whiteout = ovl_lookup_temp(workdir);
88 if (IS_ERR(whiteout))
91 err = ovl_do_link(ofs->whiteout, wdir, whiteout);
96 pr_warn("Failed to link whiteout - disabling whiteout inode sharing(nlink=%u, err=%i)\n",
97 ofs->whiteout->d_inode->i_nlink, err);
100 dput(whiteout);
102 whiteout = ofs->whiteout;
103 ofs->whiteout = NULL;
105 return whiteout;
113 struct dentry *whiteout;
117 whiteout = ovl_whiteout(ofs);
118 err = PTR_ERR(whiteout);
119 if (IS_ERR(whiteout))
125 err = ovl_do_rename(wdir, whiteout, dir, dentry, flags);
132 dput(whiteout);
136 ovl_cleanup(wdir, whiteout);
681 /* Don't allow creation of "whiteout" on overlay */
933 * whiteout