diff options
| author | hannken <hannken@NetBSD.org> | 2004-01-25 18:06:48 +0000 |
|---|---|---|
| committer | hannken <hannken@NetBSD.org> | 2004-01-25 18:06:48 +0000 |
| commit | 3db4e2acd8e5eada26b08616d608d82fc4af74a0 (patch) | |
| tree | 1b03b5d463d3843c9d4fd5aabc3aff9b93dd232b /sys/dev/fssvar.h | |
| parent | d7f6cbf8bcfc796c13c751a3bcda9e4ce70cb790 (diff) | |
Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:
- VOP_STRATEGY(vp, bp) Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp) Call the d_strategy routine of bp->b_dev for bp.
DEV_STRATEGY(bp) is used only for block-to-block device situations.
Diffstat (limited to 'sys/dev/fssvar.h')
| -rw-r--r-- | sys/dev/fssvar.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fssvar.h b/sys/dev/fssvar.h index 6a86f46d65f..2dd0e1bd444 100644 --- a/sys/dev/fssvar.h +++ b/sys/dev/fssvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: fssvar.h,v 1.2 2004/01/11 19:05:27 hannken Exp $ */ +/* $NetBSD: fssvar.h,v 1.3 2004/01/25 18:06:48 hannken Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -143,7 +143,6 @@ struct fss_softc { char sc_mntname[MNAMELEN]; /* Mount point */ struct timeval sc_time; /* Time this snapshot was taken */ dev_t sc_bdev; /* Underlying block device */ - void (*sc_strategy)(struct buf *); /* And its strategy */ struct vnode *sc_bs_vp; /* Our backing store */ off_t sc_bs_size; /* Its size in bytes */ int sc_bs_bshift; /* Shift of backing store block */ |
