]> git.hungrycats.org Git - linux/commit
xfs: lift setting __GFP_NOFAIL from xfs_buf_alloc_kmem to the caller
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Jun 2026 05:58:03 +0000 (07:58 +0200)
committerCarlos Maiolino <cem@kernel.org>
Mon, 29 Jun 2026 07:37:05 +0000 (09:37 +0200)
commit27d7d15184d701b6e4db2b7431e4cee67a041a1c
tree5f58c7ae0bc616e28fbbfb68c29b26383ae6a069
parentc752838874578b7f0267d9f3e73892b1c7a0d9cc
xfs: lift setting __GFP_NOFAIL from xfs_buf_alloc_kmem to the caller

The current __GFP_NOFAIL setting is wrong in some cases.  Prepare
for fixing that by giving control to the caller.

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