All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v6 1/2] safe_macros: Use tst_umount() in safe_umount()
@ 2020-02-07 14:41 Petr Vorel
  2020-02-07 14:41 ` [LTP] [PATCH v6 2/2] syscalls/fsmount01: Add test for new mount API v5.2 Petr Vorel
  2020-02-07 15:24 ` [LTP] [PATCH v6 1/2] safe_macros: Use tst_umount() in safe_umount() Cyril Hrubis
  0 siblings, 2 replies; 18+ messages in thread
From: Petr Vorel @ 2020-02-07 14:41 UTC (permalink / raw)
  To: ltp

To get retry workaround for gvfsd-trash background daemon.

Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,

this should be ok, but better to double check.
Used in fsmount01.

Kind regards,
Petr

 lib/safe_macros.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/safe_macros.c b/lib/safe_macros.c
index 41fa4ca83..deb19d2df 100644
--- a/lib/safe_macros.c
+++ b/lib/safe_macros.c
@@ -772,7 +772,7 @@ int safe_umount(const char *file, const int lineno, void (*cleanup_fn)(void),
 {
 	int rval;
 
-	rval = umount(target);
+	rval = tst_umount(target);
 
 	if (rval == -1) {
 		tst_brkm(TBROK | TERRNO, cleanup_fn,
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-02-17  9:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 14:41 [LTP] [PATCH v6 1/2] safe_macros: Use tst_umount() in safe_umount() Petr Vorel
2020-02-07 14:41 ` [LTP] [PATCH v6 2/2] syscalls/fsmount01: Add test for new mount API v5.2 Petr Vorel
2020-02-16  7:32   ` Li Wang
2020-02-16 13:17     ` Petr Vorel
2020-02-17  6:48       ` Li Wang
2020-02-17  7:51         ` Petr Vorel
2020-02-17  9:16         ` Jan Stancek
2020-02-17  9:43           ` Petr Vorel
2020-02-17  7:17       ` Li Wang
2020-02-17  8:04     ` Viresh Kumar
2020-02-07 15:24 ` [LTP] [PATCH v6 1/2] safe_macros: Use tst_umount() in safe_umount() Cyril Hrubis
2020-02-07 15:47   ` Jan Stancek
2020-02-07 15:53     ` Petr Vorel
2020-02-07 15:56       ` Jan Stancek
2020-02-07 15:57     ` Cyril Hrubis
2020-02-07 16:10       ` Petr Vorel
2020-02-10  8:19       ` Jan Stancek
2020-02-10 12:44         ` Petr Vorel

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.