Dave Chinner 07b5c5add4 xfs: use xfs_buf_alloc_pages for uncached buffers
Use the newly factored out page allocation code. This adds
automatic buffer zeroing for non-read uncached buffers.

This also allows us to greatly simply the error handling in
xfs_buf_get_uncached(). Because xfs_buf_alloc_pages() cleans up
partial allocation failure, we can just call xfs_buf_free() in all
error cases now to clean up after failures.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
2021-06-01 13:40:35 +10:00
..
2021-03-25 16:47:52 -07:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2019-11-07 13:00:53 -08:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-04-29 10:43:51 -07:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00