linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] renameat2: add system call number for i386
@ 2014-04-12 23:13 Theodore Ts'o
  2014-04-16  0:32 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Theodore Ts'o @ 2014-04-12 23:13 UTC (permalink / raw)
  To: xfs; +Cc: Miklos Szeredi, Ext4 Developers List, Theodore Ts'o

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Miklos Szeredi <mszeredi@suse.cz>
---
 src/renameat2.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/renameat2.c b/src/renameat2.c
index 5145959..8613aa9 100644
--- a/src/renameat2.c
+++ b/src/renameat2.c
@@ -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)
-- 
1.9.0

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: [PATCH] renameat2: add system call number for i386
  2014-04-12 23:13 [PATCH] renameat2: add system call number for i386 Theodore Ts'o
@ 2014-04-16  0:32 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2014-04-16  0:32 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: Ext4 Developers List, Miklos Szeredi, xfs

On Sat, Apr 12, 2014 at 07:13:04PM -0400, Theodore Ts'o wrote:
> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
> Cc: Miklos Szeredi <mszeredi@suse.cz>
> ---
>  src/renameat2.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/renameat2.c b/src/renameat2.c
> index 5145959..8613aa9 100644
> --- a/src/renameat2.c
> +++ b/src/renameat2.c
> @@ -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 <dchinner@redhat.com>

-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2014-04-16  0:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-12 23:13 [PATCH] renameat2: add system call number for i386 Theodore Ts'o
2014-04-16  0:32 ` Dave Chinner

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).