* [PATCH] xfs_io: Add statx support for PowerPC architecture
@ 2017-04-26 6:39 Chandan Rajendra
2017-04-26 8:00 ` Christoph Hellwig
2017-04-26 13:15 ` Eric Sandeen
0 siblings, 2 replies; 3+ messages in thread
From: Chandan Rajendra @ 2017-04-26 6:39 UTC (permalink / raw)
To: linux-xfs; +Cc: Chandan Rajendra, sandeen
Linux kernel commit f717629c7f834ab2efa05c7dbf0826f1d7c32ade (powerpc:
Wire up statx() syscall) added support for statx syscall for PowerPC
architecture. This commit enables using 'statx' sub-command of xfs_io to
be used on PowerPC.
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
---
This patch is based on Eric's "xfs_io: fix statx definition for non-x86
architecture" patch.
io/statx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io/statx.h b/io/statx.h
index eea7944..14361a8 100644
--- a/io/statx.h
+++ b/io/statx.h
@@ -16,7 +16,7 @@
#endif
#ifndef __NR_statx
-# ifdef __i386__
+# if defined(__i386__) || defined(__powerpc__)
# define __NR_statx 383
# elif defined (__x86_64__)
# if defined (__ILP32__)
--
2.5.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs_io: Add statx support for PowerPC architecture
2017-04-26 6:39 [PATCH] xfs_io: Add statx support for PowerPC architecture Chandan Rajendra
@ 2017-04-26 8:00 ` Christoph Hellwig
2017-04-26 13:15 ` Eric Sandeen
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2017-04-26 8:00 UTC (permalink / raw)
To: Chandan Rajendra; +Cc: linux-xfs, sandeen
Looks fine,
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs_io: Add statx support for PowerPC architecture
2017-04-26 6:39 [PATCH] xfs_io: Add statx support for PowerPC architecture Chandan Rajendra
2017-04-26 8:00 ` Christoph Hellwig
@ 2017-04-26 13:15 ` Eric Sandeen
1 sibling, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2017-04-26 13:15 UTC (permalink / raw)
To: Chandan Rajendra, linux-xfs
On 4/26/17 1:39 AM, Chandan Rajendra wrote:
> Linux kernel commit f717629c7f834ab2efa05c7dbf0826f1d7c32ade (powerpc:
> Wire up statx() syscall) added support for statx syscall for PowerPC
> architecture. This commit enables using 'statx' sub-command of xfs_io to
> be used on PowerPC.
>
> Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Ok, sure - some day I hope to get rid of io/statx.h but for now I want
to be sure we run on the architectures that people "care" about ;) so
this sounds good.
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
> ---
> This patch is based on Eric's "xfs_io: fix statx definition for non-x86
> architecture" patch.
>
> io/statx.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/io/statx.h b/io/statx.h
> index eea7944..14361a8 100644
> --- a/io/statx.h
> +++ b/io/statx.h
> @@ -16,7 +16,7 @@
> #endif
>
> #ifndef __NR_statx
> -# ifdef __i386__
> +# if defined(__i386__) || defined(__powerpc__)
> # define __NR_statx 383
> # elif defined (__x86_64__)
> # if defined (__ILP32__)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-26 13:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-26 6:39 [PATCH] xfs_io: Add statx support for PowerPC architecture Chandan Rajendra
2017-04-26 8:00 ` Christoph Hellwig
2017-04-26 13:15 ` Eric Sandeen
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.