OSDN Git Service

xfs: remove xfs_bmse_shift_one
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 18:07:34 +0000 (11:07 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:28 +0000 (15:38 -0700)
commitbf8062800ad2d1ca22950c28910196bcbda89108
tree94021e068fef570e231a1272669d6a11ab77772e
parentecfea3f0c8c64ce7375f4be4506996968958bd01
xfs: remove xfs_bmse_shift_one

Instead do the actual left and right shift work in the callers, and just
keep a helper to update the bmap and rmap btrees as well as the in-core
extent list.

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