From c4b93e052994f093546b2f7d401a43d40fa70ef5 Mon Sep 17 00:00:00 2001 From: Eric Sesterhenn Date: Tue, 3 Oct 2006 23:37:14 +0200 Subject: [PATCH] --- yaml --- r: 38330 b: refs/heads/master c: 73dff8be9ea89df26bfb6a0443ad912de6e7bd00 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4xdr.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 1d20d448a7c4..7a3c32b85e0a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 14a61442c2203d2a49f2f954bfa9259c0ddac1aa +refs/heads/master: 73dff8be9ea89df26bfb6a0443ad912de6e7bd00 diff --git a/trunk/fs/nfsd/nfs4xdr.c b/trunk/fs/nfsd/nfs4xdr.c index 5446a0861d1d..5be00436b5b8 100644 --- a/trunk/fs/nfsd/nfs4xdr.c +++ b/trunk/fs/nfsd/nfs4xdr.c @@ -198,8 +198,7 @@ static char *savemem(struct nfsd4_compoundargs *argp, u32 *p, int nbytes) p = new; memcpy(p, argp->tmp, nbytes); } else { - if (p != argp->tmpp) - BUG(); + BUG_ON(p != argp->tmpp); argp->tmpp = NULL; } if (defer_free(argp, kfree, p)) {