xfs: convert btree buffer log flags to unsigned.
authorDave Chinner <david@fromorbit.com>
Thu, 21 Apr 2022 00:46:33 +0000 (10:46 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 21 Apr 2022 00:46:33 +0000 (10:46 +1000)
commit722db70fb2f03ef9ff21cd5194e9f592701e1be6
tree258e3a5f9b9606f647cf7ff2cb8c3065703e1aa6
parent0d1b97696696871dc42dfc59d527a0b68b1a1209
xfs: convert btree buffer log flags to unsigned.

5.18 w/ std=gnu11 compiled with gcc-5 wants flags stored in unsigned
fields to be unsigned.

We also pass the fields to log to xfs_btree_offsets() as a uint32_t
all cases now. I have no idea why we made that parameter a int64_t
in the first place, but while we are fixing this up change it to
a uint32_t field, too.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h