From 181122ab44254019cd1cb3807484e69fab0d4442 Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" Date: Thu, 16 Dec 2010 09:57:15 -0500 Subject: [PATCH] --- yaml --- r: 231143 b: refs/heads/master c: 56560b9ae0c2d07bb5bbcec16f799d7bf756d3de h: refs/heads/master i: 231141: 5afc0c07bc4de418b808c98410d909056b741f4d 231139: 62a7ad234c54be8fdca43dc37366aa313b18d890 231135: 415bec1dd6f3c18080af88e3fb38d5d782fa2502 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4proc.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0b0821edabf0..eefaae934005 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f3c0ceea83ba3741226ea04eb1804d254da2642f +refs/heads/master: 56560b9ae0c2d07bb5bbcec16f799d7bf756d3de diff --git a/trunk/fs/nfsd/nfs4proc.c b/trunk/fs/nfsd/nfs4proc.c index 0cdfd022bb7b..bad4bf8e4bbc 100644 --- a/trunk/fs/nfsd/nfs4proc.c +++ b/trunk/fs/nfsd/nfs4proc.c @@ -769,6 +769,9 @@ nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, } else secinfo->si_exp = exp; dput(dentry); + if (cstate->minorversion) + /* See rfc 5661 section 2.6.3.1.1.8 */ + fh_put(&cstate->current_fh); return err; }