Deleted Added
full compact
vfs_default.c (56272) vfs_default.c (58345)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed
6 * to Berkeley by John Heidemann of the UCLA Ficus project.
7 *
8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 *
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed
6 * to Berkeley by John Heidemann of the UCLA Ficus project.
7 *
8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 *
39 * $FreeBSD: head/sys/kern/vfs_default.c 56272 2000-01-19 06:07:34Z rwatson $
39 * $FreeBSD: head/sys/kern/vfs_default.c 58345 2000-03-20 10:44:49Z phk $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/buf.h>
45#include <sys/kernel.h>
46#include <sys/lock.h>
47#include <sys/malloc.h>

--- 100 unchanged lines hidden (view full) ---

148}
149
150/*
151 * vop_nostrategy:
152 *
153 * Strategy routine for VFS devices that have none.
154 *
155 * B_ERROR and B_INVAL must be cleared prior to calling any strategy
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/buf.h>
45#include <sys/kernel.h>
46#include <sys/lock.h>
47#include <sys/malloc.h>

--- 100 unchanged lines hidden (view full) ---

148}
149
150/*
151 * vop_nostrategy:
152 *
153 * Strategy routine for VFS devices that have none.
154 *
155 * B_ERROR and B_INVAL must be cleared prior to calling any strategy
156 * routine. Typically this is done for a B_READ strategy call. Typically
157 * B_INVAL is assumed to already be clear prior to a write and should not
158 * be cleared manually unless you just made the buffer invalid. B_ERROR
159 * should be cleared either way.
156 * routine. Typically this is done for a BIO_READ strategy call.
157 * Typically B_INVAL is assumed to already be clear prior to a write
158 * and should not be cleared manually unless you just made the buffer
159 * invalid. B_ERROR should be cleared either way.
160 */
161
162static int
163vop_nostrategy (struct vop_strategy_args *ap)
164{
165 printf("No strategy for buffer at %p\n", ap->a_bp);
166 vprint("", ap->a_vp);
167 vprint("", ap->a_bp->b_vp);

--- 467 unchanged lines hidden ---
160 */
161
162static int
163vop_nostrategy (struct vop_strategy_args *ap)
164{
165 printf("No strategy for buffer at %p\n", ap->a_bp);
166 vprint("", ap->a_vp);
167 vprint("", ap->a_bp->b_vp);

--- 467 unchanged lines hidden ---