diff options
author | phk <phk@FreeBSD.org> | 2005-01-11 09:10:46 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-11 09:10:46 +0000 |
commit | 3c63be9389dfd166a187681cc5cfa7df2d60887a (patch) | |
tree | fe158d53803912f8bfd7e41397510c030a4bd6da /sys/ufs | |
parent | c27dcfcc1709e6211c5d169e24968ec7e817db5e (diff) | |
download | FreeBSD-src-3c63be9389dfd166a187681cc5cfa7df2d60887a.zip FreeBSD-src-3c63be9389dfd166a187681cc5cfa7df2d60887a.tar.gz |
Wrap the bufobj operations in macros: BO_STRATEGY() and BO_WRITE()
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_rawread.c | 2 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_vnops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_rawread.c b/sys/ufs/ffs/ffs_rawread.c index e147b4a..154cc60 100644 --- a/sys/ufs/ffs/ffs_rawread.c +++ b/sys/ufs/ffs/ffs_rawread.c @@ -252,7 +252,7 @@ ffs_rawread_readahead(struct vnode *vp, if (vmapbuf(bp) < 0) return EFAULT; - dp->v_bufobj.bo_ops->bop_strategy(&dp->v_bufobj, bp); + BO_STRATEGY(&dp->v_bufobj, bp); return 0; } diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 90771bf..f376e3f 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -1949,7 +1949,7 @@ ufs_strategy(ap) } bp->b_iooffset = dbtob(bp->b_blkno); bo = ip->i_umbufobj; - bo->bo_ops->bop_strategy(bo, bp); + BO_STRATEGY(bo, bp); return (0); } |