]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: simplify the rmap code in xfs_bmse_merge
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Oct 2017 18:39:01 +0000 (13:39 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 18 Oct 2017 18:39:01 +0000 (13:39 -0500)
commit479284b7ca724d31a28ce3370d51566a59e3960a
tree644bd4dcfca337a9fac46896b2a3ad5b7b6b5e76
parent455044a641b6f4c099ae51e90f379c2cf02ad17c
xfs: simplify the rmap code in xfs_bmse_merge

Source kernel commit: 4cc1ee5e654114aa7fac6993488ad2cd0b3411bb

In Christoph's patch to refactor xfs_bmse_merge, the updated rmap code
does more work than it needs to (because map-extent auto-merges
records).  Remove the unnecessary unmap and save ourselves a deferred
op.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c