projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e69dd0
)
[XFS] Remove an incorrect use of unlikely() on a relatively likely code
author
Nathan Scott
<nathans@sgi.com>
Sun, 18 Jun 2006 22:40:12 +0000
(08:40 +1000)
committer
Nathan Scott
<nathans@sgi.com>
Sun, 18 Jun 2006 22:40:12 +0000
(08:40 +1000)
path.
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26249a
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_bmap.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_bmap.c
b/fs/xfs/xfs_bmap.c
index 3050b4c647c04ce597fa80248e7fa45f39b69154..4d0ca14039af31bc6d4603d27ad7d35a6ba8924f 100644
(file)
--- a/
fs/xfs/xfs_bmap.c
+++ b/
fs/xfs/xfs_bmap.c
@@
-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 {