Miklos, This series is a cleanup towards the lazy lowerdata lookup patches that I mentioned in an earlier email [1]. The lazy lowerdata patches are ready including tests, but I am waiting for your feedback on the data-only layers before I post the complete series. I am posting this cleanup series independently, because it mostly [*] stands on its own. Specifically, patch #1 is a bug fix for stable. Feel free to take just patch #1, or only part of the cleanup or wait for the posting of the complete work. Thanks, Amir. [*] The last patch, which reserves the space for lowerdata_redirect is not completely independent of the lazy lowerdata series, but I preferred to do it this way then to remove the lowerdata inode union field and add lowerdata_redirect later, because I think the change is easier to review this way. [1] https://lore.kernel.org/linux-unionfs/CAOQ4uxich227fP7bGSCNqx-JX5h36O-MLwqPoy0r33tuH=z2cA@xxxxxxxxxxxxxx/ Amir Goldstein (7): ovl: update of dentry revalidate flags after copy up ovl: use OVL_E() and OVL_E_FLAGS() accessors ovl: use ovl_numlower() and ovl_lowerstack() accessors ovl: factor out ovl_free_entry() and ovl_stack_*() helpers ovl: move ovl_entry into ovl_inode ovl: deduplicate lowerpath and lowerstack[0] ovl: replace lowerdata inode reference with lowerdata redirect fs/overlayfs/copy_up.c | 2 + fs/overlayfs/dir.c | 5 +- fs/overlayfs/export.c | 37 ++++----- fs/overlayfs/inode.c | 20 ++--- fs/overlayfs/namei.c | 75 +++++++++--------- fs/overlayfs/overlayfs.h | 24 ++++-- fs/overlayfs/ovl_entry.h | 63 +++++++++++---- fs/overlayfs/super.c | 86 +++++++------------- fs/overlayfs/util.c | 164 +++++++++++++++++++++++++++++---------- 9 files changed, 281 insertions(+), 195 deletions(-) -- 2.34.1