aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/cd9660/cd9660_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/cd9660/cd9660_vnops.c')
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index 33ca58472490..c4d0e6ba7b30 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -443,7 +443,7 @@ cd9660_readdir(struct vop_readdir_args *ap)
u_short namelen;
u_int ncookies = 0;
uint64_t *cookies = NULL;
- cd_ino_t ino;
+ ino_t ino;
dp = VTOI(vdp);
imp = dp->i_mnt;
@@ -758,6 +758,9 @@ cd9660_pathconf(struct vop_pathconf_args *ap)
/* NOTREACHED */
}
+_Static_assert(sizeof(struct ifid) <= sizeof(struct fid),
+ "struct ifid must be no larger than struct fid");
+
/*
* Vnode pointer to File handle
*/