aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2022-03-03 03:22:30 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2022-03-03 03:22:30 +0000
commit95e945313e8e22515d3f0b8a5fce97697746c036 (patch)
tree296f5073ed48ee45c35d224703377583985199a9
parente8bb416da1390eb9fd546f0b62d5c879dfd62893 (diff)
downloadsrc-95e945313e8e22515d3f0b8a5fce97697746c036.tar.gz
src-95e945313e8e22515d3f0b8a5fce97697746c036.zip
fuse: Fix build on 32-bit architectures
MFC 3d721de049be ("Fix NFS exports of FUSE file systems for big directories") missed a case of a uint64_t from HEAD that should be a u_long in 13 due to KPI differences. Specifically, HEAD has b214fcceacad ("Change VOP_READDIR's cookies argument to a **uint64_t"), but stable/13 does not. This is a direct commit to stable/13.
-rw-r--r--sys/fs/fuse/fuse_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fuse/fuse_internal.h b/sys/fs/fuse/fuse_internal.h
index 7d773b02fd8b..ccd72086db2a 100644
--- a/sys/fs/fuse/fuse_internal.h
+++ b/sys/fs/fuse/fuse_internal.h
@@ -252,7 +252,7 @@ struct pseudo_dirent {
};
int fuse_internal_readdir(struct vnode *vp, struct uio *uio,
struct fuse_filehandle *fufh, struct fuse_iov *cookediov, int *ncookies,
- uint64_t *cookies);
+ u_long *cookies);
int fuse_internal_readdir_processdata(struct uio *uio, size_t reqsize,
void *buf, size_t bufsize, struct fuse_iov *cookediov, int *ncookies,
u_long **cookiesp);