Merge tag 'xfs-fixes-6.14-rc7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux

Pull xfs cleanup from Carlos Maiolino:
"Use abs_diff instead of XFS_ABSDIFF"

* tag 'xfs-fixes-6.14-rc7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
xfs: Use abs_diff instead of XFS_ABSDIFF

+3 -5
+3 -5
fs/xfs/libxfs/xfs_alloc.c
··· 33 34 struct workqueue_struct *xfs_alloc_wq; 35 36 - #define XFS_ABSDIFF(a,b) (((a) <= (b)) ? ((b) - (a)) : ((a) - (b))) 37 - 38 #define XFSA_FIXUP_BNO_OK 1 39 #define XFSA_FIXUP_CNT_OK 2 40 ··· 408 if (newbno1 != NULLAGBLOCK && newbno2 != NULLAGBLOCK) { 409 if (newlen1 < newlen2 || 410 (newlen1 == newlen2 && 411 - XFS_ABSDIFF(newbno1, wantbno) > 412 - XFS_ABSDIFF(newbno2, wantbno))) 413 newbno1 = newbno2; 414 } else if (newbno2 != NULLAGBLOCK) 415 newbno1 = newbno2; ··· 425 } else 426 newbno1 = freeend - wantlen; 427 *newbnop = newbno1; 428 - return newbno1 == NULLAGBLOCK ? 0 : XFS_ABSDIFF(newbno1, wantbno); 429 } 430 431 /*
··· 33 34 struct workqueue_struct *xfs_alloc_wq; 35 36 #define XFSA_FIXUP_BNO_OK 1 37 #define XFSA_FIXUP_CNT_OK 2 38 ··· 410 if (newbno1 != NULLAGBLOCK && newbno2 != NULLAGBLOCK) { 411 if (newlen1 < newlen2 || 412 (newlen1 == newlen2 && 413 + abs_diff(newbno1, wantbno) > 414 + abs_diff(newbno2, wantbno))) 415 newbno1 = newbno2; 416 } else if (newbno2 != NULLAGBLOCK) 417 newbno1 = newbno2; ··· 427 } else 428 newbno1 = freeend - wantlen; 429 *newbnop = newbno1; 430 + return newbno1 == NULLAGBLOCK ? 0 : abs_diff(newbno1, wantbno); 431 } 432 433 /*