Skip to content

Commit

Permalink
NFSD: Put exports after nfsd4_layout_verify fail
Browse files Browse the repository at this point in the history
Fix commit 9cf514c (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>
  • Loading branch information
kinglongmee authored and J. Bruce Fields committed Mar 20, 2015
1 parent a68465c commit a142038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4proc.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit a142038

Please sign in to comment.