mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[XFS] Remove an incorrect use of unlikely() on a relatively likely code
path. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:26249a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
parent
1e69dd0eb3
commit
6fe90e6d14
1 changed files with 1 additions and 1 deletions
|
@ -2834,7 +2834,7 @@ xfs_bmap_btalloc(
|
|||
args.prod = ap->ip->i_d.di_extsize;
|
||||
if ((args.mod = (xfs_extlen_t)do_mod(ap->off, args.prod)))
|
||||
args.mod = (xfs_extlen_t)(args.prod - args.mod);
|
||||
} else if (unlikely(mp->m_sb.sb_blocksize >= NBPP)) {
|
||||
} else if (mp->m_sb.sb_blocksize >= NBPP) {
|
||||
args.prod = 1;
|
||||
args.mod = 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue