Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1420384 authored by Kinglong Mee's avatar Kinglong Mee Committed by J. Bruce Fields
Browse files

NFSD: Put exports after nfsd4_layout_verify fail



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

Signed-off-by: default avatarKinglong Mee <kinglongmee@gmail.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent a68465c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}