renameat2: add system call number for i386
PATCH 1/1 renameat2: add system call number for i386
Signed-off-by "Theodore Ts'o" <[email protected]>
Cc Miklos Szeredi <[email protected]>
--- src/renameat2.c | 4 ++++ 1 file changed, 4 insertions(+)
src/renameat2.c +4 -0
@@ -14,6 +14,10 @@#define SYS_renameat2 316#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)
Signature · 6 lines
1.9.0 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 11 lines · Theodore Ts'o
Signed-off-by "Theodore Ts'o" <[email protected]>Cc Miklos Szeredi <[email protected]>--- src/renameat2.c | 4 ++++ 1 file changed, 4 insertions(+)src/renameat2.c +0
-0
src/renameat2.c line 23
Quoted 10 lines
src/renameat2.c +4
-0@@ -14,6 +14,10 @@#define SYS_renameat2 316#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)
Yup, matches the kernel code. Looks good.
Reviewed-by Dave Chinner <[email protected]>
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs