aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_exchrange.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-01-13 14:12:08 +0000
committerCarlos Maiolino <[email protected]>2025-01-14 10:38:14 +0000
commit05b5968f33a9fccabc5cb6672afd3ce2367db99b (patch)
tree27c1b3c22c8bb6cf9510b6e892e71fe00af55bf6 /fs/xfs/xfs_exchrange.c
parentxfs: remove the incorrect comment about the b_pag field (diff)
downloadkernel-05b5968f33a9fccabc5cb6672afd3ce2367db99b.tar.gz
kernel-05b5968f33a9fccabc5cb6672afd3ce2367db99b.zip
xfs: move xfs_buf_iowait out of (__)xfs_buf_submit
There is no good reason to pass a bool argument to wait for a buffer when the callers that want that can easily just wait themselves. This means the wait moves out of the extra hold of the buffer, but as the callers of synchronous buffer I/O need to hold a reference anyway that is perfectly fine. Because all async buffer submitters ignore the error return value, and the synchronous ones catch the error condition through b_error and xfs_buf_iowait this also means the new xfs_buf_submit doesn't have to return an error code. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Acked-by: Dave Chinner <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions