NFSv4: nfs4_proc_async_renew should use a GFP_NOFS allocation
[linux-2.6.git] / fs / nfs / nfs4proc.c
index 8c77039..776b41a 100644 (file)
@@ -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;