]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_io: Add statx support for PowerPC architecture
authorchandan <chandan@linux.vnet.ibm.com>
Tue, 2 May 2017 16:12:52 +0000 (11:12 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 2 May 2017 16:12:52 +0000 (11:12 -0500)
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/statx.h

index eea7944e730a9ba558c6f6a8d88837e23b87c5f3..14361a88dcf77c323b48a94145b3d5ea96417418 100644 (file)
@@ -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__)