Skip to contentSkip to conversation

overlay/038: Remove usage of _overlay_scratch_unmount

PATCH In review Chandan Rajendra 2 participants 2 messages Oct 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 overlay/038: Remove usage of _overlay_scratch_unmount

_overlay_scratch_unmount is not supposed to be invoked directly by tests. Also, since unmounting scratch fs is optional, this commit removes invocation of _overlay_scratch_unmount.

---
 tests/overlay/038 | 2 --
 1 file changed, 2 deletions(-)
tests/overlay/038 +0 -2
index 148995b..28c9c4e 100755
@@ -185,8 +185,6 @@ parent_d=$($here/src/t_dir_type $SCRATCH_MNT/test_dir/pure_lower_dir $test_dir_s
 [[ $parent_d == ".. d" ]] || \
 	echo "Pure lower in dir which has another lower layer: Invalid d_ino reported for .."
 
-_overlay_scratch_unmount
-
 echo "Silence is golden"
 status=0
 exit
Signature · 1 line
2.9.5
#1 lore raw
Quoted 3 lines · Chandan Rajendra

_overlay_scratch_unmount is not supposed to be invoked directly by tests. Also, since unmounting scratch fs is optional, this commit removes invocation of _overlay_scratch_unmount.

Looks good.
Thanks

Quoted 22 lines
---
 tests/overlay/038 | 2 --
 1 file changed, 2 deletions(-)
tests/overlay/038 +0 -3
index 148995b..28c9c4e 100755
@@ -185,8 +185,6 @@ parent_d=$($here/src/t_dir_type $SCRATCH_MNT/test_dir/pure_lower_dir $test_dir_s
 [[ $parent_d == ".. d" ]] || \
        echo "Pure lower in dir which has another lower layer: Invalid d_ino reported for .."
 
-_overlay_scratch_unmount
-
 echo "Silence is golden"
 status=0
 exit
--

2.9.5