diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-01-29 14:19:15 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-25 18:50:12 -0500 |
commit | 4fb547be355d4af349681ba4c3bab81d99f4f774 (patch) | |
tree | 0afe73f3ee073597c4a99c62e186fd23891975f4 /fs/nfs/callback_proc.c | |
parent | 61345a42a2ff8b0539faf545a5ce17b6c339db38 (diff) | |
download | lwn-4fb547be355d4af349681ba4c3bab81d99f4f774.tar.gz lwn-4fb547be355d4af349681ba4c3bab81d99f4f774.zip |
NFSv4.2/copyoffload: Convert GFP_NOFS to GFP_KERNEL
There doesn't seem to be any reason why the copy offload code can't use
GFP_KERNEL. It can't get called by direct reclaim.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r-- | fs/nfs/callback_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c index c343666d9a42..39d1ec870d90 100644 --- a/fs/nfs/callback_proc.c +++ b/fs/nfs/callback_proc.c @@ -710,7 +710,7 @@ __be32 nfs4_callback_offload(void *data, void *dummy, struct nfs4_copy_state *copy, *tmp_copy; bool found = false; - copy = kzalloc(sizeof(struct nfs4_copy_state), GFP_NOFS); + copy = kzalloc(sizeof(struct nfs4_copy_state), GFP_KERNEL); if (!copy) return htonl(NFS4ERR_SERVERFAULT); |