]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: refactor libxfs_readbuf out of existence
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 14 Mar 2020 03:01:00 +0000 (23:01 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Sat, 14 Mar 2020 03:01:00 +0000 (23:01 -0400)
commite50083599097da23f9e9e0a78d996a86f3ee1dec
tree4db5ea4314467bb7d03da7758e943a752e962509
parent583ca112de3c952fad7d3d0af99fe013e1b2e412
libxfs: refactor libxfs_readbuf out of existence

The two libxfs_readbuf* functions are awfully similar, so refactor one
into the other to reduce duplicated code.

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/rdwr.c