]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
repair: simplify bmap_next_offset
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Nov 2020 19:49:35 +0000 (14:49 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 23 Nov 2020 19:49:35 +0000 (14:49 -0500)
commitf3a6a9f8528ca031170e76737533ac7fee7a89f9
tree3c49830f59e3c6a06682bde92bbc66911f34fb70
parent7ec359998d2802e75bc2754e305cd64b58658932
repair: simplify bmap_next_offset

The tp argument is always NULL, and the whichfork argument is always
XFS_DATA_FORK, so simplify and cleanup the function based on those
assumptions.

[sandeen: rebase for current git tree]

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