]> git.hungrycats.org Git - linux/commit
xfs: simplify the failure path in xfs_buf_alloc_vmalloc
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Jun 2026 05:58:05 +0000 (07:58 +0200)
committerCarlos Maiolino <cem@kernel.org>
Mon, 29 Jun 2026 07:37:06 +0000 (09:37 +0200)
commit19dc95d4b6cf81e1878a3abd587afc967b75d5ce
tree19ef0b158a5eedc8217251f6bad6f6bf3d6bf519
parent0144bcf619602e82843a514431d3cf2cd13ec08a
xfs: simplify the failure path in xfs_buf_alloc_vmalloc

Look at the __GFP_NORETRY flag set for readahead so that we don't
have to pass both the gfp_t and the flags in.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c