diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-03-15 23:12:15 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-03-20 16:15:42 -0400 |
commit | a1420384e3aa83b4ac8af85ae92d84f320272756 (patch) | |
tree | 7dc5637fc9a318f7086a74f9c38243eead8649ec /fs/nfsd | |
parent | a68465c9cb435feadb0efe6acbd0a9a7d1038465 (diff) | |
download | op-kernel-dev-a1420384e3aa83b4ac8af85ae92d84f320272756.zip op-kernel-dev-a1420384e3aa83b4ac8af85ae92d84f320272756.tar.gz |
NFSD: Put exports after nfsd4_layout_verify fail
Fix commit 9cf514ccfa (nfsd: implement pNFS operations).
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index d30bea8d..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; } |