mirror of
https://github.com/opnsense/src.git
synced 2026-03-30 22:45:13 -04:00
In NFSv2, the directory cookie was 32-bits. NFSv3 widened it to 64-bits and SVN r22521 widened the corresponding argument in VOP_READDIR, but FreeBSD's NFS server continued to treat the cookies as 32-bits, and 0-extended to fill the field on the wire. Nobody ever noticed, because every in-tree file system generates cookies that fit comfortably within 32-bits. Also, have better type safety for txdr_hyper. Turn it into an inline function that type-checks its arguments. Prevents warnings about shift-count-overflow. PR: 260375 MFC after: 2 weeks Reviewed by: rmacklem Differential Revision: https://reviews.freebsd.org/D33404 |
||
|---|---|---|
| .. | ||
| bootp_subr.c | ||
| krpc.h | ||
| krpc_subr.c | ||
| nfs_diskless.c | ||
| nfs_kdtrace.h | ||
| nfs_lock.h | ||
| nfs_mountcommon.h | ||
| nfs_nfssvc.c | ||
| nfsdiskless.h | ||
| nfsproto.h | ||
| nfssvc.h | ||
| xdr_subs.h | ||