3 * The Regents of the University of California. All rights reserved.
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. All advertising materials mentioning features or use of this software
19 * must display the following acknowledgement:
20 * This product includes software developed by the University of
21 * California, Berkeley and its contributors.
22 * 4. Neither the name of the University nor the names of its contributors
23 * may be used to endorse or promote products derived from this software
24 * without specific prior written permission.
26 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95
39 * $FreeBSD: src/sys/isofs/cd9660/cd9660_vnops.c,v 1.62 1999/12/15 23:01:51 eivind Exp $
40 * $DragonFly: src/sys/vfs/isofs/cd9660/cd9660_vnops.c,v 1.14 2005/02/15 08:32:18 joerg Exp $
43 #include <sys/param.h>
44 #include <sys/systm.h>
46 #include <sys/namei.h>
47 #include <sys/kernel.h>
50 #include <sys/mount.h>
51 #include <sys/vnode.h>
52 #include <vfs/fifofs/fifo.h>
53 #include <sys/malloc.h>
54 #include <sys/dirent.h>
55 #include <sys/unistd.h>
56 #include <sys/filio.h>
57 #include <sys/lockf.h>
60 #include <vm/vm_zone.h>
61 #include <vm/vnode_pager.h>
64 #include "cd9660_node.h"
67 static int cd9660_access (struct vop_access_args *);
68 static int cd9660_advlock (struct vop_advlock_args *);
69 static int cd9660_getattr (struct vop_getattr_args *);
70 static int cd9660_ioctl (struct vop_ioctl_args *);
71 static int cd9660_pathconf (struct vop_pathconf_args *);
72 static int cd9660_read (struct vop_read_args *);
73 static int cd9660_setattr (struct vop_setattr_args *);
75 static int iso_uiodir (struct isoreaddir *idp, struct dirent *dp,
77 static int iso_shipdir (struct isoreaddir *idp);
78 static int cd9660_readdir (struct vop_readdir_args *);
79 static int cd9660_readlink (struct vop_readlink_args *ap);
80 static int cd9660_strategy (struct vop_strategy_args *);
81 static int cd9660_print (struct vop_print_args *);
82 static int cd9660_getpages (struct vop_getpages_args *);
83 static int cd9660_putpages (struct vop_putpages_args *);
86 * Setattr call. Only allowed for block and character special devices.
88 * cd9660_setattr(struct vnodeop_desc *a_desc, struct vnode *a_vp,
89 * struct vattr *a_vap, struct ucred *a_cred, struct proc *a_p)
92 cd9660_setattr(struct vop_setattr_args *ap)
94 struct vnode *vp = ap->a_vp;
95 struct vattr *vap = ap->a_vap;
97 if (vap->va_flags != (u_long)VNOVAL || vap->va_uid != (uid_t)VNOVAL ||
98 vap->va_gid != (gid_t)VNOVAL || vap->va_atime.tv_sec != VNOVAL ||
99 vap->va_mtime.tv_sec != VNOVAL || vap->va_mode != (mode_t)VNOVAL)
101 if (vap->va_size != (u_quad_t)VNOVAL) {
102 switch (vp->v_type) {
121 * Check mode permission on inode pointer. Mode is READ, WRITE or EXEC.
122 * The mode is shifted to select the owner/group/other fields. The
123 * super user is granted all permissions.
125 * cd9660_access(struct vnode *a_vp, int a_mode, struct ucred *a_cred,
130 cd9660_access(struct vop_access_args *ap)
132 struct vnode *vp = ap->a_vp;
133 struct iso_node *ip = VTOI(vp);
134 struct ucred *cred = ap->a_cred;
135 mode_t mask, mode = ap->a_mode;
140 * Disallow write attempts unless the file is a socket,
141 * fifo, or a block or character device resident on the
145 switch (vp->v_type) {
156 /* User id 0 always gets access. */
157 if (cred->cr_uid == 0)
162 /* Otherwise, check the owner. */
163 if (cred->cr_uid == ip->inode.iso_uid) {
170 return ((ip->inode.iso_mode & mask) == mask ? 0 : EACCES);
173 /* Otherwise, check the groups. */
174 for (i = 0, gp = cred->cr_groups; i < cred->cr_ngroups; i++, gp++)
175 if (ip->inode.iso_gid == *gp) {
182 return ((ip->inode.iso_mode & mask) == mask ?
186 /* Otherwise, check everyone else. */
193 return ((ip->inode.iso_mode & mask) == mask ? 0 : EACCES);
197 * cd9660_getattr(struct vnode *a_vp, struct vattr *a_vap, struct thread *a_td)
200 cd9660_getattr(struct vop_getattr_args *ap)
202 struct vnode *vp = ap->a_vp;
203 struct vattr *vap = ap->a_vap;
204 struct iso_node *ip = VTOI(vp);
206 vap->va_fsid = dev2udev(ip->i_dev);
207 vap->va_fileid = ip->i_number;
209 vap->va_mode = ip->inode.iso_mode;
210 vap->va_nlink = ip->inode.iso_links;
211 vap->va_uid = ip->inode.iso_uid;
212 vap->va_gid = ip->inode.iso_gid;
213 vap->va_atime = ip->inode.iso_atime;
214 vap->va_mtime = ip->inode.iso_mtime;
215 vap->va_ctime = ip->inode.iso_ctime;
216 vap->va_rdev = ip->inode.iso_rdev;
218 vap->va_size = (u_quad_t)(unsigned long)ip->i_size;
219 if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) {
220 struct vop_readlink_args rdlnk;
225 MALLOC(cp, char *, MAXPATHLEN, M_TEMP, M_WAITOK);
227 aiov.iov_len = MAXPATHLEN;
228 auio.uio_iov = &aiov;
231 auio.uio_rw = UIO_READ;
232 auio.uio_segflg = UIO_SYSSPACE;
233 auio.uio_td = ap->a_td;
234 auio.uio_resid = MAXPATHLEN;
236 rdlnk.a_vp = ap->a_vp;
237 rdlnk.a_cred = proc0.p_ucred; /* use root cred */
238 if (cd9660_readlink(&rdlnk) == 0)
239 vap->va_size = MAXPATHLEN - auio.uio_resid;
244 vap->va_blocksize = ip->i_mnt->logical_block_size;
245 vap->va_bytes = (u_quad_t) ip->i_size;
246 vap->va_type = vp->v_type;
252 * Vnode op for ioctl.
254 * cd9660_ioctl(struct vnode *a_vp, int a_command, caddr_t a_data,
255 * int a_fflag, struct ucred *a_cred, struct proc *a_p)
258 cd9660_ioctl(struct vop_ioctl_args *ap)
260 struct vnode *vp = ap->a_vp;
261 struct iso_node *ip = VTOI(vp);
263 switch (ap->a_command) {
266 *(int *)(ap->a_data) = ip->iso_start;
274 * Vnode op for reading.
276 * cd9660_read(struct vnode *a_vp, struct uio *a_uio, int a_ioflag,
277 * struct ucred *a_cred)
280 cd9660_read(struct vop_read_args *ap)
282 struct vnode *vp = ap->a_vp;
283 struct uio *uio = ap->a_uio;
284 struct iso_node *ip = VTOI(vp);
287 daddr_t lbn, rablock;
289 int rasize, error = 0;
293 seqcount = ap->a_ioflag >> 16;
295 if (uio->uio_resid == 0)
297 if (uio->uio_offset < 0)
299 ip->i_flag |= IN_ACCESS;
302 lbn = lblkno(imp, uio->uio_offset);
303 on = blkoff(imp, uio->uio_offset);
304 n = min((u_int)(imp->logical_block_size - on),
306 diff = (off_t)ip->i_size - uio->uio_offset;
311 size = blksize(imp, ip, lbn);
313 if ((vp->v_mount->mnt_flag & MNT_NOCLUSTERR) == 0) {
314 if (lblktosize(imp, rablock) < ip->i_size)
315 error = cluster_read(vp, (off_t)ip->i_size,
316 lbn, size, uio->uio_resid,
317 (ap->a_ioflag >> 16), &bp);
319 error = bread(vp, lbn, size, &bp);
322 lblktosize(imp, rablock) < ip->i_size) {
323 rasize = blksize(imp, ip, rablock);
324 error = breadn(vp, lbn, size, &rablock,
327 error = bread(vp, lbn, size, &bp);
329 n = min(n, size - bp->b_resid);
335 error = uiomove(bp->b_data + on, (int)n, uio);
337 } while (error == 0 && uio->uio_resid > 0 && n != 0);
342 * Structure for reading directories
345 struct dirent saveent;
346 struct dirent assocent;
347 struct dirent current;
359 iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off)
363 dp->d_name[dp->d_namlen] = 0;
364 dp->d_reclen = GENERIC_DIRSIZ(dp);
366 if (idp->uio->uio_resid < dp->d_reclen) {
372 if (idp->ncookies <= 0) {
377 *idp->cookies++ = off;
381 if ((error = uiomove((caddr_t) dp,dp->d_reclen,idp->uio)) != 0)
388 iso_shipdir(struct isoreaddir *idp)
395 cl = idp->current.d_namlen;
396 cname = idp->current.d_name;
397 assoc = (cl > 1) && (*cname == ASSOCCHAR);
405 if (!(sl = dp->d_namlen)) {
407 sname = dp->d_name + 1;
408 sl = dp->d_namlen - 1;
412 || bcmp(sname,cname,sl)) {
413 if (idp->assocent.d_namlen) {
414 if ((error = iso_uiodir(idp,&idp->assocent,idp->assocoff)) != 0)
416 idp->assocent.d_namlen = 0;
418 if (idp->saveent.d_namlen) {
419 if ((error = iso_uiodir(idp,&idp->saveent,idp->saveoff)) != 0)
421 idp->saveent.d_namlen = 0;
425 idp->current.d_reclen = GENERIC_DIRSIZ(&idp->current);
427 idp->assocoff = idp->curroff;
428 bcopy(&idp->current,&idp->assocent,idp->current.d_reclen);
430 idp->saveoff = idp->curroff;
431 bcopy(&idp->current,&idp->saveent,idp->current.d_reclen);
437 * Vnode op for readdir
439 * cd9660_readdir(struct vnode *a_vp, struct uio *a_uio, struct ucred *a_cred,
440 * int *a_eofflag, int *a_ncookies, u_long *a_cookies)
443 cd9660_readdir(struct vop_readdir_args *ap)
445 struct uio *uio = ap->a_uio;
446 struct isoreaddir *idp;
447 struct vnode *vdp = ap->a_vp;
450 struct buf *bp = NULL;
451 struct iso_directory_record *ep;
452 int entryoffsetinblock;
459 u_long *cookies = NULL;
463 bmask = imp->im_bmask;
465 MALLOC(idp, struct isoreaddir *, sizeof(*idp), M_TEMP, M_WAITOK);
466 idp->saveent.d_namlen = idp->assocent.d_namlen = 0;
469 * Is it worth trying to figure out the type?
471 idp->saveent.d_type = idp->assocent.d_type = idp->current.d_type =
474 if (ap->a_ncookies == NULL) {
478 * Guess the number of cookies needed.
480 ncookies = uio->uio_resid / 16;
481 MALLOC(cookies, u_long *, ncookies * sizeof(u_int), M_TEMP,
483 idp->cookies = cookies;
484 idp->ncookies = ncookies;
487 idp->curroff = uio->uio_offset;
489 if ((entryoffsetinblock = idp->curroff & bmask) &&
490 (error = cd9660_blkatoff(vdp, (off_t)idp->curroff, NULL, &bp))) {
494 endsearch = dp->i_size;
496 while (idp->curroff < endsearch) {
498 * If offset is on a block boundary,
499 * read the next directory block.
500 * Release previous if it exists.
502 if ((idp->curroff & bmask) == 0) {
506 cd9660_blkatoff(vdp, (off_t)idp->curroff, NULL, &bp)) != 0)
508 entryoffsetinblock = 0;
511 * Get pointer to next entry.
513 ep = (struct iso_directory_record *)
514 ((char *)bp->b_data + entryoffsetinblock);
516 reclen = isonum_711(ep->length);
518 /* skip to next block, if any */
520 (idp->curroff & ~bmask) + imp->logical_block_size;
524 if (reclen < ISO_DIRECTORY_RECORD_SIZE) {
526 /* illegal entry, stop */
530 if (entryoffsetinblock + reclen > imp->logical_block_size) {
532 /* illegal directory, so stop looking */
536 idp->current.d_namlen = isonum_711(ep->name_len);
538 if (reclen < ISO_DIRECTORY_RECORD_SIZE + idp->current.d_namlen) {
540 /* illegal entry, stop */
544 if (isonum_711(ep->flags)&2)
545 idp->current.d_fileno = isodirino(ep, imp);
547 idp->current.d_fileno = dbtob(bp->b_blkno) +
550 idp->curroff += reclen;
552 switch (imp->iso_ftype) {
554 cd9660_rrip_getname(ep,idp->current.d_name, &namelen,
555 &idp->current.d_fileno,imp);
556 idp->current.d_namlen = (u_char)namelen;
557 if (idp->current.d_namlen)
558 error = iso_uiodir(idp,&idp->current,idp->curroff);
560 default: /* ISO_FTYPE_DEFAULT || ISO_FTYPE_9660 || ISO_FTYPE_HIGH_SIERRA*/
561 strcpy(idp->current.d_name,"..");
562 if (idp->current.d_namlen == 1 && ep->name[0] == 0) {
563 idp->current.d_namlen = 1;
564 error = iso_uiodir(idp,&idp->current,idp->curroff);
565 } else if (idp->current.d_namlen == 1 && ep->name[0] == 1) {
566 idp->current.d_namlen = 2;
567 error = iso_uiodir(idp,&idp->current,idp->curroff);
569 isofntrans(ep->name,idp->current.d_namlen,
570 idp->current.d_name, &namelen,
571 imp->iso_ftype == ISO_FTYPE_9660,
572 isonum_711(ep->flags)&4,
574 idp->current.d_namlen = (u_char)namelen;
575 if (imp->iso_ftype == ISO_FTYPE_DEFAULT)
576 error = iso_shipdir(idp);
578 error = iso_uiodir(idp,&idp->current,idp->curroff);
584 entryoffsetinblock += reclen;
587 if (!error && imp->iso_ftype == ISO_FTYPE_DEFAULT) {
588 idp->current.d_namlen = 0;
589 error = iso_shipdir(idp);
594 if (ap->a_ncookies != NULL) {
596 free(cookies, M_TEMP);
599 * Work out the number of cookies actually used.
601 *ap->a_ncookies = ncookies - idp->ncookies;
602 *ap->a_cookies = cookies;
609 uio->uio_offset = idp->uio_off;
610 *ap->a_eofflag = idp->eofflag;
618 * Return target name of a symbolic link
619 * Shouldn't we get the parent vnode and read the data from there?
620 * This could eventually result in deadlocks in cd9660_lookup.
621 * But otherwise the block read here is in the block buffer two times.
623 typedef struct iso_directory_record ISODIR;
624 typedef struct iso_node ISONODE;
625 typedef struct iso_mnt ISOMNT;
627 * cd9660_readlink(struct vnode *a_vp, struct uio *a_uio, struct ucred *a_cred)
630 cd9660_readlink(struct vop_readlink_args *ap)
645 if (imp->iso_ftype != ISO_FTYPE_RRIP)
649 * Get parents directory record block that this inode included.
651 error = bread(imp->im_devvp,
652 (ip->i_number >> imp->im_bshift) <<
653 (imp->im_bshift - DEV_BSHIFT),
654 imp->logical_block_size, &bp);
661 * Setup the directory pointer for this inode
663 dirp = (ISODIR *)(bp->b_data + (ip->i_number & imp->im_bmask));
666 * Just make sure, we have a right one....
667 * 1: Check not cross boundary on block
669 if ((ip->i_number & imp->im_bmask) + isonum_711(dirp->length)
670 > (unsigned)imp->logical_block_size) {
677 * Abuse a namei buffer for now.
679 if (uio->uio_segflg == UIO_SYSSPACE)
680 symname = uio->uio_iov->iov_base;
682 symname = zalloc(namei_zone);
685 * Ok, we just gathering a symbolic name in SL record.
687 if (cd9660_rrip_getsymname(dirp, symname, &symlen, imp) == 0) {
688 if (uio->uio_segflg != UIO_SYSSPACE)
689 zfree(namei_zone, symname);
694 * Don't forget before you leave from home ;-)
699 * return with the symbolic name to caller's.
701 if (uio->uio_segflg != UIO_SYSSPACE) {
702 error = uiomove(symname, symlen, uio);
703 zfree(namei_zone, symname);
706 uio->uio_resid -= symlen;
707 uio->uio_iov->iov_base += symlen;
708 uio->uio_iov->iov_len -= symlen;
713 * Calculate the logical to physical mapping if not done already,
714 * then call the device strategy routine.
716 * cd9660_strategy(struct buf *a_vp, struct buf *a_bp)
719 cd9660_strategy(struct vop_strategy_args *ap)
721 struct buf *bp = ap->a_bp;
722 struct vnode *vp = bp->b_vp;
727 if (vp->v_type == VBLK || vp->v_type == VCHR)
728 panic("cd9660_strategy: spec");
729 if (bp->b_blkno == bp->b_lblkno) {
731 VOP_BMAP(vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL, NULL))) {
733 bp->b_flags |= B_ERROR;
737 if ((long)bp->b_blkno == -1)
740 if ((long)bp->b_blkno == -1) {
745 bp->b_dev = vp->v_rdev;
746 VOP_STRATEGY(vp, bp);
751 * Print out the contents of an inode.
753 * cd9660_print(struct vnode *a_vp)
756 cd9660_print(struct vop_print_args *ap)
758 printf("tag VT_ISOFS, isofs vnode\n");
763 * Return POSIX pathconf information applicable to cd9660 filesystems.
765 * cd9660_pathconf(struct vnode *a_vp, int a_name, register_t *a_retval)
768 cd9660_pathconf(struct vop_pathconf_args *ap)
770 switch (ap->a_name) {
775 if (VTOI(ap->a_vp)->i_mnt->iso_ftype == ISO_FTYPE_RRIP)
776 *ap->a_retval = NAME_MAX;
781 *ap->a_retval = PATH_MAX;
784 *ap->a_retval = PIPE_BUF;
786 case _PC_CHOWN_RESTRICTED:
801 * XXX By default, wimp out... note that a_offset is ignored (and always
805 cd9660_getpages(struct vop_getpages_args *ap)
807 return vnode_pager_generic_getpages(ap->a_vp, ap->a_m, ap->a_count,
814 * XXX By default, wimp out... note that a_offset is ignored (and always
818 cd9660_putpages(struct vop_putpages_args *ap)
820 return vnode_pager_generic_putpages(ap->a_vp, ap->a_m, ap->a_count,
821 ap->a_sync, ap->a_rtvals);
825 * Advisory lock support
829 struct vop_advlock_args /* {
837 struct iso_node *ip = VTOI(ap->a_vp);
838 return (lf_advlock(ap, &(ip->i_lockf), ip->i_size));
843 * Global vfs data structures for cd9660
845 struct vnodeopv_entry_desc cd9660_vnodeop_entries[] = {
846 { &vop_default_desc, (vnodeopv_entry_t) vop_defaultop },
847 { &vop_access_desc, (vnodeopv_entry_t) cd9660_access },
848 { &vop_advlock_desc, (vnodeopv_entry_t) cd9660_advlock },
849 { &vop_bmap_desc, (vnodeopv_entry_t) cd9660_bmap },
850 { &vop_lookup_desc, (vnodeopv_entry_t) cd9660_lookup },
851 { &vop_getattr_desc, (vnodeopv_entry_t) cd9660_getattr },
852 { &vop_inactive_desc, (vnodeopv_entry_t) cd9660_inactive },
853 { &vop_ioctl_desc, (vnodeopv_entry_t) cd9660_ioctl },
854 { &vop_islocked_desc, (vnodeopv_entry_t) vop_stdislocked },
855 { &vop_lock_desc, (vnodeopv_entry_t) vop_stdlock },
856 { &vop_pathconf_desc, (vnodeopv_entry_t) cd9660_pathconf },
857 { &vop_print_desc, (vnodeopv_entry_t) cd9660_print },
858 { &vop_read_desc, (vnodeopv_entry_t) cd9660_read },
859 { &vop_readdir_desc, (vnodeopv_entry_t) cd9660_readdir },
860 { &vop_readlink_desc, (vnodeopv_entry_t) cd9660_readlink },
861 { &vop_reclaim_desc, (vnodeopv_entry_t) cd9660_reclaim },
862 { &vop_setattr_desc, (vnodeopv_entry_t) cd9660_setattr },
863 { &vop_strategy_desc, (vnodeopv_entry_t) cd9660_strategy },
864 { &vop_unlock_desc, (vnodeopv_entry_t) vop_stdunlock },
865 { &vop_getpages_desc, (vnodeopv_entry_t) cd9660_getpages },
866 { &vop_putpages_desc, (vnodeopv_entry_t) cd9660_putpages },
871 * Special device vnode ops
873 struct vnodeopv_entry_desc cd9660_specop_entries[] = {
874 { &vop_default_desc, (vnodeopv_entry_t) spec_vnoperate },
875 { &vop_access_desc, (vnodeopv_entry_t) cd9660_access },
876 { &vop_getattr_desc, (vnodeopv_entry_t) cd9660_getattr },
877 { &vop_inactive_desc, (vnodeopv_entry_t) cd9660_inactive },
878 { &vop_islocked_desc, (vnodeopv_entry_t) vop_stdislocked },
879 { &vop_lock_desc, (vnodeopv_entry_t) vop_stdlock },
880 { &vop_print_desc, (vnodeopv_entry_t) cd9660_print },
881 { &vop_reclaim_desc, (vnodeopv_entry_t) cd9660_reclaim },
882 { &vop_setattr_desc, (vnodeopv_entry_t) cd9660_setattr },
883 { &vop_unlock_desc, (vnodeopv_entry_t) vop_stdunlock },
887 struct vnodeopv_entry_desc cd9660_fifoop_entries[] = {
888 { &vop_default_desc, (vnodeopv_entry_t) fifo_vnoperate },
889 { &vop_access_desc, (vnodeopv_entry_t) cd9660_access },
890 { &vop_getattr_desc, (vnodeopv_entry_t) cd9660_getattr },
891 { &vop_inactive_desc, (vnodeopv_entry_t) cd9660_inactive },
892 { &vop_islocked_desc, (vnodeopv_entry_t) vop_stdislocked },
893 { &vop_lock_desc, (vnodeopv_entry_t) vop_stdlock },
894 { &vop_print_desc, (vnodeopv_entry_t) cd9660_print },
895 { &vop_reclaim_desc, (vnodeopv_entry_t) cd9660_reclaim },
896 { &vop_setattr_desc, (vnodeopv_entry_t) cd9660_setattr },
897 { &vop_unlock_desc, (vnodeopv_entry_t) vop_stdunlock },