Skip to contentSkip to conversation

linux-next: build warning after merge of the btrfs tree

DISCUSSION Stephen Rothwell 1 participant 1 message Aug 25, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:

fs/btrfs/volumes.c: In function 'btrfs_rm_dev_replace_free_srcdev':
fs/btrfs/volumes.c:2217:24: warning: unused variable 'fs_info' [-Wunused-variable]
2217 | struct btrfs_fs_info *fs_info = srcdev->fs_info;
| ^~~~~~~

Introduced by commits

2a6fac3ea9a1 ("btrfs: move btrfs_scratch_superblocks into btrfs_dev_replace_finishing") 438ac6dd65ef ("btrfs: switch seed device to list api")

merged in commit

76e6c55d5432 ("Merge branch 'ext/nikbor/seed-cleanups-v2' into for-next-next-v5.9-20200824")

which should have removed the declaration.

Signature · 2 lines
Cheers,
Stephen Rothwell