diff options
-rw-r--r-- | fs/nfs/nfs4proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index e8988c000e7f..f8817e81096e 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -5192,20 +5192,20 @@ int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred) | |||
5192 | clp->cl_rpcclient->cl_auth->au_flavor); | 5192 | clp->cl_rpcclient->cl_auth->au_flavor); |
5193 | 5193 | ||
5194 | res.server_owner = kzalloc(sizeof(struct nfs41_server_owner), | 5194 | res.server_owner = kzalloc(sizeof(struct nfs41_server_owner), |
5195 | GFP_KERNEL); | 5195 | GFP_NOFS); |
5196 | if (unlikely(res.server_owner == NULL)) { | 5196 | if (unlikely(res.server_owner == NULL)) { |
5197 | status = -ENOMEM; | 5197 | status = -ENOMEM; |
5198 | goto out; | 5198 | goto out; |
5199 | } | 5199 | } |
5200 | 5200 | ||
5201 | res.server_scope = kzalloc(sizeof(struct nfs41_server_scope), | 5201 | res.server_scope = kzalloc(sizeof(struct nfs41_server_scope), |
5202 | GFP_KERNEL); | 5202 | GFP_NOFS); |
5203 | if (unlikely(res.server_scope == NULL)) { | 5203 | if (unlikely(res.server_scope == NULL)) { |
5204 | status = -ENOMEM; | 5204 | status = -ENOMEM; |
5205 | goto out_server_owner; | 5205 | goto out_server_owner; |
5206 | } | 5206 | } |
5207 | 5207 | ||
5208 | res.impl_id = kzalloc(sizeof(struct nfs41_impl_id), GFP_KERNEL); | 5208 | res.impl_id = kzalloc(sizeof(struct nfs41_impl_id), GFP_NOFS); |
5209 | if (unlikely(res.impl_id == NULL)) { | 5209 | if (unlikely(res.impl_id == NULL)) { |
5210 | status = -ENOMEM; | 5210 | status = -ENOMEM; |
5211 | goto out_server_scope; | 5211 | goto out_server_scope; |