]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: improve the xfs_buf_ioend_fail calling convention
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Jun 2026 13:58:33 +0000 (15:58 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 1 Jul 2026 10:29:50 +0000 (12:29 +0200)
commit4c8b46d832bd98eab914e2bbcd32447b584b03a7
tree52dc965956e9116154772f1f05fdc9ed0db40dde
parentcc9af5e461ea5f6e37738f3f1e41c45a9b7f45d6
xfs: improve the xfs_buf_ioend_fail calling convention

Move setting the ASYNC flag into xfs_buf_ioend_fail, assert that the
buffer is locked as expected, and drop the confusing _ioend in the
name.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_inode.c