Lines Matching refs:index
1160 struct dentry *index = NULL;
1182 index = ovl_lookup_upper(ofs, p->name, indexdir, p->len);
1183 if (IS_ERR(index)) {
1184 err = PTR_ERR(index);
1185 index = NULL;
1188 /* Cleanup leftover from index create/cleanup attempt */
1189 if (index->d_name.name[0] == '#') {
1190 err = ovl_workdir_cleanup(ofs, dir, path.mnt, index, 1);
1195 err = ovl_verify_index(ofs, index);
1199 /* Cleanup stale index entries */
1200 err = ovl_cleanup(ofs, dir, index);
1203 * Abort mount to avoid corrupting the index if
1204 * an incompatible index entry was found or on out
1210 * Whiteout orphan index to block future open by
1213 err = ovl_cleanup_and_whiteout(ofs, dir, index);
1215 /* Cleanup orphan index entries */
1216 err = ovl_cleanup(ofs, dir, index);
1223 dput(index);
1224 index = NULL;
1226 dput(index);
1231 pr_err("failed index dir cleanup (%i)\n", err);