diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-01-29 19:57:38 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-26 00:50:12 +0100 |
commit | da48f267f90d9dc9f930fd9a67753643657b404f (patch) | |
tree | da5555babd7b51bc10d764c4a73d34771ec14343 /fs/nfs/nfs4state.c | |
parent | NFSv4.2: Fix up an invalid combination of memory allocation flags (diff) | |
download | linux-da48f267f90d9dc9f930fd9a67753643657b404f.tar.xz linux-da48f267f90d9dc9f930fd9a67753643657b404f.zip |
NFS: Convert GFP_NOFS to GFP_KERNEL
Assume that sections that should not re-enter the filesystem are already
protected with memalloc_nofs_save/restore call, so relax those GFP_NOFS
instances which might be used by other contexts.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r-- | fs/nfs/nfs4state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 87cb864a1ba2..58054dfdf2b0 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c @@ -821,7 +821,7 @@ static void __nfs4_close(struct nfs4_state *state, void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) { - __nfs4_close(state, fmode, GFP_NOFS, 0); + __nfs4_close(state, fmode, GFP_KERNEL, 0); } void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) |