aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_quota_defs.h
diff options
context:
space:
mode:
authorGravatar Darrick J. Wong <darrick.wong@oracle.com> 2017-06-16 11:00:05 -0700
committerGravatar Darrick J. Wong <darrick.wong@oracle.com> 2017-06-19 14:11:33 -0700
commitc8ce540db5f67d254aafb14b5d76422c62a906df (patch)
treee5051d79d5e79a75338f4f6a0b7cef41ddfe2fa5 /fs/xfs/libxfs/xfs_quota_defs.h
parentxfs: optimize _btree_query_all (diff)
downloadlinux-c8ce540db5f67d254aafb14b5d76422c62a906df.tar.gz
linux-c8ce540db5f67d254aafb14b5d76422c62a906df.tar.bz2
linux-c8ce540db5f67d254aafb14b5d76422c62a906df.zip
xfs: remove double-underscore integer types
This is a purely mechanical patch that removes the private __{u,}int{8,16,32,64}_t typedefs in favor of using the system {u,}int{8,16,32,64}_t typedefs. This is the sed script used to perform the transformation and fix the resulting whitespace and indentation errors: s/typedef\t__uint8_t/typedef __uint8_t\t/g s/typedef\t__uint/typedef __uint/g s/typedef\t__int\([0-9]*\)_t/typedef int\1_t\t/g s/__uint8_t\t/__uint8_t\t\t/g s/__uint/uint/g s/__int\([0-9]*\)_t\t/__int\1_t\t\t/g s/__int/int/g /^typedef.*int[0-9]*_t;$/d Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_quota_defs.h')
-rw-r--r--fs/xfs/libxfs/xfs_quota_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_quota_defs.h b/fs/xfs/libxfs/xfs_quota_defs.h
index 8eed51275bb3..d69c772271cb 100644
--- a/fs/xfs/libxfs/xfs_quota_defs.h
+++ b/fs/xfs/libxfs/xfs_quota_defs.h
@@ -27,8 +27,8 @@
* they may need 64-bit accounting. Hence, 64-bit quota-counters,
* and quota-limits. This is a waste in the common case, but hey ...
*/
-typedef __uint64_t xfs_qcnt_t;
-typedef __uint16_t xfs_qwarncnt_t;
+typedef uint64_t xfs_qcnt_t;
+typedef uint16_t xfs_qwarncnt_t;
/*
* flags for q_flags field in the dquot.