overlay/017: fix some comments

Align all comments to the term 'constant inode numbers' and
explain why hardlinks are excluded from this test.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Amir Goldstein
2017-04-28 11:24:44 +03:00
committed by Eryu Guan
parent c2c9d7ef1a
commit 3813cafb81
+3 -4
View File
@@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
# FSQA Test No. 017 # FSQA Test No. 017
# #
# Test unstable inode number # Test constant inode numbers
# #
# This simple test demonstrates a known issue with overlayfs: # This simple test demonstrates a known issue with overlayfs:
# - stat file A shows inode number X # - stat file A shows inode number X
@@ -58,9 +58,8 @@ rm -f $seqres.full
_scratch_mkfs >>$seqres.full 2>&1 _scratch_mkfs >>$seqres.full 2>&1
# Create our test files. # Create our test files.
# Not dealing with hardlinks here, because there is more to test # Not dealing with hardlinks here, when hardlinks are broken they
# then stable inode number. # should not preserve the inode number.
# Hardlinks will get a test of their own.
lowerdir=$OVL_BASE_SCRATCH_MNT/$OVL_LOWER lowerdir=$OVL_BASE_SCRATCH_MNT/$OVL_LOWER
mkdir -p $lowerdir mkdir -p $lowerdir
mkdir $lowerdir/dir mkdir $lowerdir/dir