[PATCH] fstests: remove duplicated renameat2 system call number for i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove duplicated renameat2 system call number for i386.

Signed-off-by: kaixuxia <kaixuxia@xxxxxxxxxxx>
---
 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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux