From d8b3df3cb90ffaa3381db166cd1e1f43fa25aa69 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 15 Nov 2004 09:18:27 +0000 Subject: Make VOP_BMAP return a struct bufobj for the underlying storage device instead of a vnode for it. The vnode_pager does not and should not have any interest in what the filesystem uses for backend. (vfs_cluster doesn't use the backing store argument.) --- sys/fs/cd9660/cd9660_bmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/fs/cd9660') diff --git a/sys/fs/cd9660/cd9660_bmap.c b/sys/fs/cd9660/cd9660_bmap.c index a256313..147f445 100644 --- a/sys/fs/cd9660/cd9660_bmap.c +++ b/sys/fs/cd9660/cd9660_bmap.c @@ -55,7 +55,7 @@ cd9660_bmap(ap) struct vop_bmap_args /* { struct vnode *a_vp; daddr_t a_bn; - struct vnode **a_vpp; + struct bufobj **a_bop; daddr_t *a_bnp; int *a_runp; int *a_runb; @@ -69,8 +69,8 @@ cd9660_bmap(ap) * Check for underlying vnode requests and ensure that logical * to physical mapping is requested. */ - if (ap->a_vpp != NULL) - *ap->a_vpp = ip->i_mnt->im_devvp; + if (ap->a_bop != NULL) + *ap->a_bop = &ip->i_mnt->im_devvp->v_bufobj; if (ap->a_bnp == NULL) return (0); -- cgit v1.1