diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-18 18:40:12 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-18 18:40:12 -0400 |
commit | 6fe90e6d1451a05db37b2a582410ddcb45af3606 (patch) | |
tree | 9eb884a4928582a563b835809bb6fc8d9786a3a0 /fs/xfs/xfs_bmap.c | |
parent | 1e69dd0eb354d6f1a77098a3946b5ba57d4e3109 (diff) |
[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>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index 3050b4c647c0..4d0ca14039af 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -2834,7 +2834,7 @@ xfs_bmap_btalloc( | |||
2834 | args.prod = ap->ip->i_d.di_extsize; | 2834 | args.prod = ap->ip->i_d.di_extsize; |
2835 | if ((args.mod = (xfs_extlen_t)do_mod(ap->off, args.prod))) | 2835 | if ((args.mod = (xfs_extlen_t)do_mod(ap->off, args.prod))) |
2836 | args.mod = (xfs_extlen_t)(args.prod - args.mod); | 2836 | args.mod = (xfs_extlen_t)(args.prod - args.mod); |
2837 | } else if (unlikely(mp->m_sb.sb_blocksize >= NBPP)) { | 2837 | } else if (mp->m_sb.sb_blocksize >= NBPP) { |
2838 | args.prod = 1; | 2838 | args.prod = 1; |
2839 | args.mod = 0; | 2839 | args.mod = 0; |
2840 | } else { | 2840 | } else { |