readdir.c (3011645b5b061e99cf0f024b3260ec506f91b27c) | readdir.c (c21c839b8448dd4b1e37ffc1bde928f57d34c0db) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * 4 * Copyright (C) 2011 Novell Inc. 5 */ 6 7#include <linux/fs.h> 8#include <linux/slab.h> --- 1140 unchanged lines hidden (view full) --- 1149 * of memory. 1150 */ 1151 break; 1152 } else if (ofs->config.nfs_export) { 1153 /* 1154 * Whiteout orphan index to block future open by 1155 * handle after overlay nlink dropped to zero. 1156 */ | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * 4 * Copyright (C) 2011 Novell Inc. 5 */ 6 7#include <linux/fs.h> 8#include <linux/slab.h> --- 1140 unchanged lines hidden (view full) --- 1149 * of memory. 1150 */ 1151 break; 1152 } else if (ofs->config.nfs_export) { 1153 /* 1154 * Whiteout orphan index to block future open by 1155 * handle after overlay nlink dropped to zero. 1156 */ |
1157 err = ovl_cleanup_and_whiteout(indexdir, dir, index); | 1157 err = ovl_cleanup_and_whiteout(ofs, dir, index); |
1158 } else { 1159 /* Cleanup orphan index entries */ 1160 err = ovl_cleanup(dir, index); 1161 } 1162 1163 if (err) 1164 break; 1165 --- 12 unchanged lines hidden --- | 1158 } else { 1159 /* Cleanup orphan index entries */ 1160 err = ovl_cleanup(dir, index); 1161 } 1162 1163 if (err) 1164 break; 1165 --- 12 unchanged lines hidden --- |