projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53e77f
)
NFSv4: nfs4_proc_async_renew should use a GFP_NOFS allocation
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 24 Aug 2011 19:07:35 +0000
(15:07 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 24 Aug 2011 19:07:35 +0000
(15:07 -0400)
We shouldn't allow the renew daemon to do direct reclaim on the NFS
partition.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 8c77039e7a811a0fb08ab5e8f7f04e82e087642d..776b41a164693f04c5c7c074732f013fedc1c1fa 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-3397,7
+3397,7
@@
int nfs4_proc_async_renew(struct nfs_client *clp, struct rpc_cred *cred)
if (!atomic_inc_not_zero(&clp->cl_count))
return -EIO;
- data = kmalloc(sizeof(*data), GFP_
KERNEL
);
+ data = kmalloc(sizeof(*data), GFP_
NOFS
);
if (data == NULL)
return -ENOMEM;
data->client = clp;