| To: | xfs mailing list <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] xfstests: don't delete scratch loop device w/ umount -d |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Wed, 17 Feb 2010 14:29:38 -0600 |
| User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Recent fixes to 073 added umount -d, but if we happen
to be using a scratch device on loopback, subsequent
tests get very, very unhappy when their loopback block
device goes away!
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---
diff --git a/073 b/073
index 90fa1f0..7ce6efb 100755
--- a/073
+++ b/073
@@ -119,7 +119,8 @@ _verify_copy()
diff -u $tmp.geometry1 $tmp.geometry2
echo unmounting and removing new image
- umount -d $source_dir $target_dir
+ umount $source_dir
+ umount -d $target_dir
rm -f $target
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2] xfs_export_operations.commit_metadata, Ben Myers |
|---|---|
| Next by Date: | Re: [PATCH] xfs: Non-blocking inode locking in IO completion, Dave Chinner |
| Previous by Thread: | [PATCH 0/2] commit_metadata export operation v6, Ben Myers |
| Next by Thread: | Re: [PATCH] xfstests: don't delete scratch loop device w/ umount -d, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |