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

From: Stephen Rothwell
Date: Tue Oct 31 2017 - 18:43:08 EST


Hi all,

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

fs/xfs/libxfs/xfs_bmap.c: In function 'xfs_bmap_del_extent_delay':
fs/xfs/libxfs/xfs_bmap.c:4648:20: warning: unused variable 'ifp' [-Wunused-variable]
struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork);
^
fs/xfs/libxfs/xfs_bmap.c: In function 'xfs_bmap_del_extent_cow':
fs/xfs/libxfs/xfs_bmap.c:4776:20: warning: unused variable 'ifp' [-Wunused-variable]
struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, XFS_COW_FORK);
^

Introduced by commit

ca5d8e5b7b90 ("xfs: move pre/post-bmap tracing into xfs_iext_update_extent")

--
Cheers,
Stephen Rothwell