diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-03-15 18:12:15 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-03-20 23:15:42 +0300 |
commit | a1420384e3aa83b4ac8af85ae92d84f320272756 (patch) | |
tree | 7dc5637fc9a318f7086a74f9c38243eead8649ec /fs/nfsd | |
parent | a68465c9cb435feadb0efe6acbd0a9a7d1038465 (diff) | |
download | linux-a1420384e3aa83b4ac8af85ae92d84f320272756.tar.xz |
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 d30bea8d0277..92b9d97aff4f 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; } |