summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr_list.c
diff options
context:
space:
mode:
authorDarrick J. Wong2017-11-09 18:34:28 +0100
committerDarrick J. Wong2017-11-10 00:50:29 +0100
commit65a7935ddc9a1f0c723842776259d76394b4bd11 (patch)
treeb005cc780bed87531976c54df011d25bf5088c93 /fs/xfs/xfs_attr_list.c
parentxfs: handle zero entries case in xfs_iext_rebalance_leaf (diff)
downloadkernel-qcow2-linux-65a7935ddc9a1f0c723842776259d76394b4bd11.tar.gz
kernel-qcow2-linux-65a7935ddc9a1f0c723842776259d76394b4bd11.tar.xz
kernel-qcow2-linux-65a7935ddc9a1f0c723842776259d76394b4bd11.zip
xfs: remove u_int* type usage
Use the uint* types instead of the u_int* types. This will (hopefully) pair with an xfsprogs cleanup. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_attr_list.c')
-rw-r--r--fs/xfs/xfs_attr_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_attr_list.c b/fs/xfs/xfs_attr_list.c
index a3603101e5f0..3e59a348ea71 100644
--- a/fs/xfs/xfs_attr_list.c
+++ b/fs/xfs/xfs_attr_list.c
@@ -546,8 +546,8 @@ xfs_attr_list_int(
#define ATTR_ENTBASESIZE /* minimum bytes used by an attr */ \
(((struct attrlist_ent *) 0)->a_name - (char *) 0)
#define ATTR_ENTSIZE(namelen) /* actual bytes used by an attr */ \
- ((ATTR_ENTBASESIZE + (namelen) + 1 + sizeof(u_int32_t)-1) \
- & ~(sizeof(u_int32_t)-1))
+ ((ATTR_ENTBASESIZE + (namelen) + 1 + sizeof(uint32_t)-1) \
+ & ~(sizeof(uint32_t)-1))
/*
* Format an attribute and copy it out to the user's buffer.