* [PATCH] fstests: remove duplicated renameat2 system call number for i386
@ 2019-10-11 7:03 kaixuxia
2019-10-11 13:06 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: kaixuxia @ 2019-10-11 7:03 UTC (permalink / raw)
To: fstests; +Cc: linux-xfs, Eryu Guan, newtongao, jasperwang
Remove duplicated renameat2 system call number for i386.
Signed-off-by: kaixuxia <kaixuxia@tencent.com>
---
src/renameat2.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/renameat2.c b/src/renameat2.c
index c59ce65..8f712a4 100644
--- a/src/renameat2.c
+++ b/src/renameat2.c
@@ -18,10 +18,6 @@
#define SYS_renameat2 353
#endif
-#if !defined(SYS_renameat2) && defined(__i386__)
-#define SYS_renameat2 353
-#endif
-
static int renameat2(int dfd1, const char *path1,
int dfd2, const char *path2,
unsigned int flags)
--
1.8.3.1
--
kaixuxia
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fstests: remove duplicated renameat2 system call number for i386
2019-10-11 7:03 [PATCH] fstests: remove duplicated renameat2 system call number for i386 kaixuxia
@ 2019-10-11 13:06 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2019-10-11 13:06 UTC (permalink / raw)
To: kaixuxia; +Cc: fstests, linux-xfs, Eryu Guan, newtongao, jasperwang
On Fri, Oct 11, 2019 at 03:03:24PM +0800, kaixuxia wrote:
> Remove duplicated renameat2 system call number for i386.
>
> Signed-off-by: kaixuxia <kaixuxia@tencent.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-11 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-11 7:03 [PATCH] fstests: remove duplicated renameat2 system call number for i386 kaixuxia
2019-10-11 13:06 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).