diff mbox

overlay/038: Remove usage of _overlay_scratch_unmount

Message ID 20171019134907.9987-1-chandan@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chandan Rajendra Oct. 19, 2017, 1:49 p.m. UTC
_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.

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
---
 tests/overlay/038 | 2 --
 1 file changed, 2 deletions(-)

Comments

Amir Goldstein Oct. 19, 2017, 2:52 p.m. UTC | #1
On Thu, Oct 19, 2017 at 4:49 PM, Chandan Rajendra
<chandan@linux.vnet.ibm.com> wrote:
> _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
>
> Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
> ---
>  tests/overlay/038 | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/tests/overlay/038 b/tests/overlay/038
> index 148995b..28c9c4e 100755
> --- a/tests/overlay/038
> +++ b/tests/overlay/038
> @@ -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
>
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/overlay/038 b/tests/overlay/038
index 148995b..28c9c4e 100755
--- a/tests/overlay/038
+++ b/tests/overlay/038
@@ -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