linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] NFSD: Put exports after nfsd4_layout_verify fail
@ 2015-03-15 15:12 Kinglong Mee
  2015-03-16 12:19 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Kinglong Mee @ 2015-03-15 15:12 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Christoph Hellwig, Linux NFS Mailing List

Fix commit 9cf514ccfa (nfsd: implement pNFS operations).

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
 fs/nfsd/nfs4proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index d30bea8..92b9d97 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1237,8 +1237,8 @@ nfsd4_getdeviceinfo(struct svc_rqst *rqstp,
 		nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, gdp);
 
 	gdp->gd_notify_types &= ops->notify_types;
-	exp_put(exp);
 out:
+	exp_put(exp);
 	return nfserr;
 }
 
-- 
2.3.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] NFSD: Put exports after nfsd4_layout_verify fail
  2015-03-15 15:12 [PATCH] NFSD: Put exports after nfsd4_layout_verify fail Kinglong Mee
@ 2015-03-16 12:19 ` Christoph Hellwig
  2015-03-20 20:16   ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2015-03-16 12:19 UTC (permalink / raw)
  To: Kinglong Mee; +Cc: J. Bruce Fields, Linux NFS Mailing List

On Sun, Mar 15, 2015 at 11:12:15PM +0800, Kinglong Mee wrote:
> Fix commit 9cf514ccfa (nfsd: implement pNFS operations).
> 
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] NFSD: Put exports after nfsd4_layout_verify fail
  2015-03-16 12:19 ` Christoph Hellwig
@ 2015-03-20 20:16   ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2015-03-20 20:16 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Kinglong Mee, Linux NFS Mailing List

On Mon, Mar 16, 2015 at 01:19:08PM +0100, Christoph Hellwig wrote:
> On Sun, Mar 15, 2015 at 11:12:15PM +0800, Kinglong Mee wrote:
> > Fix commit 9cf514ccfa (nfsd: implement pNFS operations).
> > 
> > Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> 
> Looks good,
> 
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Thanks, applying for 4.0.

--b.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-20 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-15 15:12 [PATCH] NFSD: Put exports after nfsd4_layout_verify fail Kinglong Mee
2015-03-16 12:19 ` Christoph Hellwig
2015-03-20 20:16   ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).