aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/cd9660/cd9660_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/cd9660/cd9660_vfsops.c')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index f067453d3458..b4db4c4f7331 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -394,7 +394,7 @@ iso_mountfs(struct vnode *devvp, struct mount *mp)
isomp->im_mountp = mp;
isomp->im_dev = dev;
isomp->im_devvp = devvp;
- isomp->im_fmask = isomp->im_dmask = ACCESSPERMS;
+ isomp->im_fmask = isomp->im_dmask = ALLPERMS;
vfs_flagopt(mp->mnt_optnew, "norrip", &isomp->im_flags, ISOFSMNT_NORRIP);
vfs_flagopt(mp->mnt_optnew, "gens", &isomp->im_flags, ISOFSMNT_GENS);
@@ -560,7 +560,7 @@ cd9660_root(struct mount *mp, int flags, struct vnode **vpp)
struct iso_mnt *imp = VFSTOISOFS(mp);
struct iso_directory_record *dp =
(struct iso_directory_record *)imp->root;
- cd_ino_t ino = isodirino(dp, imp);
+ ino_t ino = isodirino(dp, imp);
/*
* With RRIP we must use the `.' entry of the root directory.
@@ -660,15 +660,15 @@ static int
cd9660_vfs_hash_cmp(struct vnode *vp, void *pino)
{
struct iso_node *ip;
- cd_ino_t ino;
+ ino_t ino;
ip = VTOI(vp);
- ino = *(cd_ino_t *)pino;
+ ino = *(ino_t *)pino;
return (ip->i_number != ino);
}
int
-cd9660_vget_internal(struct mount *mp, cd_ino_t ino, int flags,
+cd9660_vget_internal(struct mount *mp, ino_t ino, int flags,
struct vnode **vpp, int relocated, struct iso_directory_record *isodir)
{
struct iso_mnt *imp;