diff options
author | phk <phk@FreeBSD.org> | 2004-11-15 09:18:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-11-15 09:18:27 +0000 |
commit | d8b3df3cb90ffaa3381db166cd1e1f43fa25aa69 (patch) | |
tree | 271ca682bb616e6a1ee006756d44b1114980e7f9 /sys/fs/hpfs/hpfs_vnops.c | |
parent | 6809658d1c9ca4eeca1cc691f6104b6ac431e296 (diff) | |
download | FreeBSD-src-d8b3df3cb90ffaa3381db166cd1e1f43fa25aa69.zip FreeBSD-src-d8b3df3cb90ffaa3381db166cd1e1f43fa25aa69.tar.gz |
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.)
Diffstat (limited to 'sys/fs/hpfs/hpfs_vnops.c')
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index f4d3568..58a2097 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -240,7 +240,7 @@ hpfs_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; @@ -250,8 +250,8 @@ hpfs_bmap(ap) daddr_t blkno; int error; - if (ap->a_vpp != NULL) - *ap->a_vpp = hp->h_devvp; + if (ap->a_bop != NULL) + *ap->a_bop = &hp->h_devvp->v_bufobj; if (ap->a_runb != NULL) *ap->a_runb = 0; if (ap->a_bnp == NULL) |