]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: Fix up an invalid combination of memory allocation flags
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 29 Jan 2022 19:03:06 +0000 (14:03 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Feb 2022 23:50:12 +0000 (18:50 -0500)
commit21d3d292b2567be98576d0c22acf50cb5f687384
tree8720cb1e6b84cea4e554447328f9baa95f1da8ac
parent70699cb4d5e9d589c030490f7f0048fde7dbc0c8
NFSv4.2: Fix up an invalid combination of memory allocation flags

We should use either GFP_KERNEL or GFP_NOFS, but not both. Also strip
GFP_KERNEL_ACCOUNT down to GFP_KERNEL. This memory is shrinkable, so
does not need to be limited by kmemcg.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs42xattr.c