summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-15 09:18:27 +0000
committerphk <phk@FreeBSD.org>2004-11-15 09:18:27 +0000
commitd8b3df3cb90ffaa3381db166cd1e1f43fa25aa69 (patch)
tree271ca682bb616e6a1ee006756d44b1114980e7f9 /sys/fs/udf
parent6809658d1c9ca4eeca1cc691f6104b6ac431e296 (diff)
downloadFreeBSD-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/udf')
-rw-r--r--sys/fs/udf/udf_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index 80f39ed..c46dc7a 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -867,8 +867,8 @@ udf_bmap(struct vop_bmap_args *a)
node = VTON(a->a_vp);
- if (a->a_vpp != NULL)
- *a->a_vpp = node->i_devvp;
+ if (a->a_bop != NULL)
+ *a->a_bop = &node->i_devvp->v_bufobj;
if (a->a_bnp == NULL)
return (0);
if (a->a_runb)
OpenPOWER on IntegriCloud