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)
commit5c60e89e71f864033a268ed66933dad0d92f1550
tree8720cb1e6b84cea4e554447328f9baa95f1da8ac
parent9c00fd9acba81070e9413a468df57cf89d6ee960
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