commit | 26e328759b9bc18329752a75762c059e74a23146 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Sep 01 10:55:47 2020 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Sep 15 20:52:39 2020 -0700 |
tree | 6c5ae2ede1500643e90804b2ba30336a1c1554d2 | |
parent | b3f8e08ca815ef372a572d9d94f1c96941c4d93b [diff] |
xfs: reuse _xfs_buf_read for re-reading the superblock Instead of poking deeply into buffer cache internals when re-reading the superblock during log recovery just generalize _xfs_buf_read and use it there. Note that we don't have to explicitly set up the ops as they must be set from the initial read. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>