]> git.baikalelectronics.ru Git - 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)
commit14bdc8401bab29ea7312f91726b3a0e105e1fbf1
treedd87b9aeff264ee27d6e95caed045bcf2aa402a0
parentf072eed7bcf52efe2503d42f658745a33a472d81
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