mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
a68465c9cb
commit
a1420384e3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue