]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: cleanup xfs_bmap_last_before
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Nov 2016 00:39:38 +0000 (11:39 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Nov 2016 00:39:38 +0000 (11:39 +1100)
commit86685f7ba5c0fdbcc159ecdbcc530b9b3509a675
tree498f9078d92f5c2a4347e7ad52fd80006dcce8bd
parent93533c7855c3c78c8a900cac65c8d669bb14935d
xfs: cleanup xfs_bmap_last_before

Rewrite the function using xfs_iext_lookup_extent and xfs_iext_get_extent,
and massage the flow into something easily understandable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_bmap.c