Fix bug in r318997: remove the line which overrides vn_fsid()
calculation. Noted by: jhb Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4650b8ae52
commit
a8e7f543af
|
@ -491,8 +491,7 @@ nfscl_loadattrcache(struct vnode **vpp, struct nfsvattr *nap, void *nvaper,
|
|||
* in the mounted subtree.
|
||||
*/
|
||||
vn_fsid(vp, vap);
|
||||
vap->va_fsid = np->n_vattr.na_filesid[0];
|
||||
if (vap->va_fsid == np->n_vattr.na_filesid[0])
|
||||
if ((uint32_t)vap->va_fsid == np->n_vattr.na_filesid[0])
|
||||
vap->va_fsid = hash32_buf(
|
||||
np->n_vattr.na_filesid, 2 * sizeof(uint64_t), 0);
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue