]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: make libxfs_readbufr stash the error value in b_error
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 1 Mar 2020 17:34:10 +0000 (12:34 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Sun, 1 Mar 2020 17:34:10 +0000 (12:34 -0500)
commite214b18a2ee4a7623d1d1083836c7d9332c36456
tree396a2dd0fd8d1a55a14f9bce2677db02590db4df
parent456371d8529eca812ec1fc2fa267d2f5195c8923
libxfs: make libxfs_readbufr stash the error value in b_error

Make libxfs_readbufr stash the error value in b_error, which will make
the behavior consistent between regular and multi-mapping buffers.

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