[PATCH] xfs_io: Add statx support for PowerPC architecture

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

 



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@xxxxxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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