aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-06-16 14:00:05 -0400
committerDarrick J. Wong <darrick.wong@oracle.com>2017-06-19 17:11:33 -0400
commitc8ce540db5f67d254aafb14b5d76422c62a906df (patch)
treee5051d79d5e79a75338f4f6a0b7cef41ddfe2fa5 /fs/xfs/xfs_inode.c
parent5a4c73342ad493c61f19a1406f47dcd35e18030f (diff)
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/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index ec9826c56500..ffbfe7d8bc6d 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -632,7 +632,7 @@ __xfs_iflock(
632 632
633STATIC uint 633STATIC uint
634_xfs_dic2xflags( 634_xfs_dic2xflags(
635 __uint16_t di_flags, 635 uint16_t di_flags,
636 uint64_t di_flags2, 636 uint64_t di_flags2,
637 bool has_attr) 637 bool has_attr)
638{ 638{
@@ -855,8 +855,8 @@ xfs_ialloc(
855 inode->i_version = 1; 855 inode->i_version = 1;
856 ip->i_d.di_flags2 = 0; 856 ip->i_d.di_flags2 = 0;
857 ip->i_d.di_cowextsize = 0; 857 ip->i_d.di_cowextsize = 0;
858 ip->i_d.di_crtime.t_sec = (__int32_t)tv.tv_sec; 858 ip->i_d.di_crtime.t_sec = (int32_t)tv.tv_sec;
859 ip->i_d.di_crtime.t_nsec = (__int32_t)tv.tv_nsec; 859 ip->i_d.di_crtime.t_nsec = (int32_t)tv.tv_nsec;
860 } 860 }
861 861
862 862