]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xfs: remove XFS_BMAP_MAX_SHIFT_EXTENTS
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 18:07:10 +0000 (11:07 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:27 +0000 (15:38 -0700)
commit6b18af0dfd1695c1d53a2eeead838a90c27b7cb4
treedd87b9aeff264ee27d6e95caed045bcf2aa402a0
parent4ed36c6b09a536f0ff19cf914f6445306e3f315f
xfs: remove XFS_BMAP_MAX_SHIFT_EXTENTS

The define was always set to 1, which means looping until we reach is
was dead code from the start.

Also remove an initialization of next_fsb for the done case that doesn't
fit the new code flow - it was never checked by the caller in the done
case to start with.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/xfs_bmap_util.c