From 55730f6118aa947a8e81d36cd6a9cb28ce0bb7dd Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 14 Mar 2014 13:00:43 +0000 Subject: [PATCH] Revert "tests: fstrim: Remount the disk." This reverts commit accf1b66aa835714690a2979e990c49243875dab. --- tests/discard/test-fstrim.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/discard/test-fstrim.pl b/tests/discard/test-fstrim.pl index cec853fef..30bb855b3 100755 --- a/tests/discard/test-fstrim.pl +++ b/tests/discard/test-fstrim.pl @@ -113,8 +113,6 @@ die "$0: surprising result: full size <= original size\n" # Remove the file and then try to trim the filesystem. $g->rm ("/data"); -$g->umount ("/"); -$g->mount_options ("nodiscard", "/dev/sda", "/"); $g->fstrim ("/"); $g->sync (); $g->close ();