mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
xfs: convert AGF log flags to unsigned.
5.18 w/ std=gnu11 compiled with gcc-5 wants flags stored in unsigned fields to be unsigned. 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>
This commit is contained in:
parent
e7d410ac33
commit
f53dde11b4
3 changed files with 25 additions and 25 deletions
|
@ -2777,7 +2777,7 @@ xfs_alloc_get_freelist(
|
|||
xfs_agblock_t bno;
|
||||
__be32 *agfl_bno;
|
||||
int error;
|
||||
int logflags;
|
||||
uint32_t logflags;
|
||||
struct xfs_mount *mp = tp->t_mountp;
|
||||
struct xfs_perag *pag;
|
||||
|
||||
|
@ -2830,9 +2830,9 @@ xfs_alloc_get_freelist(
|
|||
*/
|
||||
void
|
||||
xfs_alloc_log_agf(
|
||||
xfs_trans_t *tp, /* transaction pointer */
|
||||
struct xfs_buf *bp, /* buffer for a.g. freelist header */
|
||||
int fields) /* mask of fields to be logged (XFS_AGF_...) */
|
||||
struct xfs_trans *tp,
|
||||
struct xfs_buf *bp,
|
||||
uint32_t fields)
|
||||
{
|
||||
int first; /* first byte offset */
|
||||
int last; /* last byte offset */
|
||||
|
@ -2902,7 +2902,7 @@ xfs_alloc_put_freelist(
|
|||
struct xfs_perag *pag;
|
||||
__be32 *blockp;
|
||||
int error;
|
||||
int logflags;
|
||||
uint32_t logflags;
|
||||
__be32 *agfl_bno;
|
||||
int startoff;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue