]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move in-memory buftarg handling out of _xfs_buf_ioapply
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 14:12:12 +0000 (15:12 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jan 2025 10:38:14 +0000 (11:38 +0100)
commit8db65d312b5757fd70591382a800336dcbf091af
tree87a4179579f141970c6c6cb87cdb5a0239935f3a
parent0195647abaac92f5dbd2799f64d19f316fd97b7a
xfs: move in-memory buftarg handling out of _xfs_buf_ioapply

No I/O to apply for in-memory buffers, so skip the function call
entirely.  Clean up the b_io_error initialization logic to allow
for this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c