Fix r252074 so that it builds on 64bit arches.

This commit is contained in:
Rick Macklem 2013-06-22 21:58:21 +00:00
parent a7408e5cc1
commit 2e6a4b0c55
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252100

View File

@ -5156,9 +5156,7 @@ nfscl_dolayoutcommit(struct nfsmount *nmp, struct nfscllayout *lyp,
lyp->nfsly_fhlen, 0, flp->nfsfl_off, len,
lyp->nfsly_lastbyte, &lyp->nfsly_stateid,
NFSLAYOUT_NFSV4_1_FILES, 0, NULL, cred, p, NULL);
NFSCL_DEBUG(4, "layoutcommit err=%d off=%qd len=%qd "
"lastbyte=%qd\n", error, flp->nfsfl_off, len,
lyp->nfsly_lastbyte);
NFSCL_DEBUG(4, "layoutcommit err=%d\n", error);
if (error == NFSERR_NOTSUPP) {
/* If not supported, don't bother doing it. */
NFSLOCKMNT(nmp);