linux-next: build failure after merge of the btrfs-kdave tree

From: Stephen Rothwell
Date: Mon Feb 01 2016 - 18:39:12 EST


Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

fs/btrfs/reada.c:326:29: error: invalid storage class for function 'reada_find_extent'
static struct reada_extent *reada_find_extent(struct btrfs_root *root,
^

and lots of others.

Caused by commit:

cbf8f71bc8d5 ("Merge branch 'for-next-4.6-20160201' into for-next-20160201")

The following patches appear on bothe sides of the merge and there are
following changes in the for-next-4.6-20160201. The merge resolution
is just very bad (I don't know if git did that automatically or not)
and would have shown up if it was build tested.

4c22a2ccc220 btrfs: reada: bypass adding extent when all zones failed
d34d58265213 btrfs: reada: add all reachable mirrors into reada device list
2aafd08e648c btrfs: reada: Avoid many times of empty loop
dc9529f670fd btrfs: reada: Add missed segment checking in reada_find_zone
9f2c3244dcf1 btrfs: reada: Fix in-segment calculation for reada

e47319f6119c btrfs: reada: bypass adding extent when all zones failed
440f28b7523a btrfs: reada: add all reachable mirrors into reada device list
14a5db53a0fc btrfs: reada: Avoid many times of empty loop
730af4ef7c49 btrfs: reada: Add missed segment checking in reada_find_zone
a38b691f5d07 btrfs: reada: Fix in-segment calculation for reada

Please fix this up.

I have used the btrfs-kdave tree from next-20160201 for today.

--
Cheers,
Stephen Rothwell