aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/nfs4xdr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 5446a0861d1d..5be00436b5b8 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -198,8 +198,7 @@ static char *savemem(struct nfsd4_compoundargs *argp, u32 *p, int nbytes)
198 p = new; 198 p = new;
199 memcpy(p, argp->tmp, nbytes); 199 memcpy(p, argp->tmp, nbytes);
200 } else { 200 } else {
201 if (p != argp->tmpp) 201 BUG_ON(p != argp->tmpp);
202 BUG();
203 argp->tmpp = NULL; 202 argp->tmpp = NULL;
204 } 203 }
205 if (defer_free(argp, kfree, p)) { 204 if (defer_free(argp, kfree, p)) {