All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zorro Lang <zlang@redhat.com>
To: fstests@vger.kernel.org
Cc: zlang@redhat.com
Subject: [PATCH] generic/409-411: remove all after unbind mountpoints
Date: Tue,  7 Mar 2017 15:48:54 +0800	[thread overview]
Message-ID: <1488872934-20001-1-git-send-email-zlang@redhat.com> (raw)

After some shared subtrees test (bind/slave/shared/private), maybe
some dentries isn't freed. For example, EBUSY maybe returned due to
some bugs. This patch tries to verify that.

Signed-off-by: Zorro Lang <zlang@redhat.com>
---
 tests/generic/409 | 1 +
 tests/generic/410 | 1 +
 tests/generic/411 | 1 +
 3 files changed, 3 insertions(+)

diff --git a/tests/generic/409 b/tests/generic/409
index d7c39d6..76d657f 100755
--- a/tests/generic/409
+++ b/tests/generic/409
@@ -48,6 +48,7 @@ _cleanup()
 	cd /
 	rm -f $tmp.*
 	_clear_mount_stack
+	rm -rf $MNTHEAD $mpA $mpB $mpC $mpD
 }
 
 # get standard environment, filters and checks
diff --git a/tests/generic/410 b/tests/generic/410
index e627cfe..f39b4fe 100755
--- a/tests/generic/410
+++ b/tests/generic/410
@@ -56,6 +56,7 @@ _cleanup()
 	cd /
 	rm -f $tmp.*
 	_clear_mount_stack
+	rm -rf $MNTHEAD $mpA $mpB $mpC
 }
 
 # get standard environment, filters and checks
diff --git a/tests/generic/411 b/tests/generic/411
index 414d3a5..e6afaf9 100755
--- a/tests/generic/411
+++ b/tests/generic/411
@@ -37,6 +37,7 @@ _cleanup()
 	cd /
 	rm -f $tmp.*
 	_clear_mount_stack
+	rm -rf $MNTHEAD $mpA $mpB $mpC
 }
 
 # get standard environment, filters and checks
-- 
2.7.4


             reply	other threads:[~2017-03-07  7:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07  7:48 Zorro Lang [this message]
2017-03-07  8:09 ` [PATCH] generic/409-411: remove all after unbind mountpoints Amir Goldstein
2017-03-07  8:35   ` Zorro Lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488872934-20001-1-git-send-email-zlang@redhat.com \
    --to=zlang@redhat.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.