linux-next: build failure after merge of the akpm tree
Subsystems (2)
Hi Andrew,
After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
fs/ext4/mballoc.c: In function 'ext4_mb_check_group_pa':/home/sfr/next/next/fs/ext4/mballoc.c:3335:17: error: implicit declaration of function 'abs64' [-Werror=implicit-function-declaration]
cur_distance = abs64(goal_block - cpa->pa_pstart);
^Caused by patch
"Remove abs64()"
interacting with commit
1a70ea8d47aa ("ext4: fix abs() usage in ext4_mb_check_group_pa")
from the ext4 tree.
I just reverted the ext4 tree commit as it is no longer needed:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Nov 2015 03:26:31 +1100
Subject: [PATCH] Revert "ext4: fix abs() usage in ext4_mb_check_group_pa"
This reverts commit 1a70ea8d47aa484e03b2540f7523f429f5af2334.
--- fs/ext4/mballoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ext4/mballoc.c +2 -2
@@ -3332,8 +3332,8 @@ ext4_mb_check_group_pa(ext4_fsblk_t goal_block,atomic_inc (&pa->pa_count);return pa; } - cur_distance =abs64 (goal_block - cpa->pa_pstart); - new_distance =abs64 (goal_block - pa->pa_pstart); + cur_distance =abs (goal_block - cpa->pa_pstart); + new_distance =abs (goal_block - pa->pa_pstart);if (cur_distance <= new_distance)return cpa;
Signature · 5 lines
2.6.1 -- Cheers, Stephen Rothwell [email protected]