1) If underlying filesystem is ext4, the lower overlay inodes do not have the MSB set (e.g. file ino 8590721028 = 0x2000C0004) because ext4 has a known inode number limit of 32bit (see ovl_can_decode_fh). 2) With nested xino feature, the nested overlay inodes have the MSB set (e.g. file ino 9223372045445496836 = 0x80000002000C0004). It is expected different inode numbers which casue the failure of overlay/071, so fix this failure by removing the unneeded comparision. Suggested-by: Amir Goldstein <amir73il@xxxxxxxxx> Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxxxxx> --- tests/overlay/071 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/overlay/071 b/tests/overlay/071 index ac2324c8..90770936 100755 --- a/tests/overlay/071 +++ b/tests/overlay/071 @@ -194,12 +194,8 @@ mount_dirs record_inode_numbers $SCRATCH_MNT/lowertestdir $tmp.lower.lo record_inode_numbers $SCRATCH_MNT/uppertestdir $tmp.lower.up -# Compare inode numbers in lower overlay vs. nested overlay -# With nested xino lower/lower, all inode numbers overflow xino bits and -# d_ino/i_ino in nested overlay are the same as in lower overlay. -check_inode_numbers $lowertestdir $tmp.lower.lo $tmp.before.lo - # Record inode numbers before copy up from nested upper +record_inode_numbers $lowertestdir $tmp.before.lo record_inode_numbers $uppertestdir $tmp.before.up # Copy up all files -- 2.25.1