diff options
| author | Alan Cox <alc@FreeBSD.org> | 1999-05-02 23:57:16 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 1999-05-02 23:57:16 +0000 |
| commit | 4221e284a34553fa3bbebd4d618f9747fa962d53 (patch) | |
| tree | adbf361e51123ffae88735ef75da1564ccd32077 /sys/kern/vfs_default.c | |
| parent | 1b3859ce9a9514ed69c4ab7dcb98ee11ee33cfe4 (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_default.c')
| -rw-r--r-- | sys/kern/vfs_default.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index c0565a44a2a0f..de5d18d80e98e 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -138,6 +138,18 @@ vop_panic(struct vop_generic_args *ap) panic("illegal vnode op called"); } +/* + * vop_nostrategy: + * + * Strategy routine for VFS devices that have none. + * + * B_ERROR and B_INVAL must be cleared prior to calling any strategy + * routine. Typically this is done for a B_READ strategy call. Typically + * B_INVAL is assumed to already be clear prior to a write and should not + * be cleared manually unless you just made the buffer invalid. B_ERROR + * should be cleared either way. + */ + static int vop_nostrategy (struct vop_strategy_args *ap) { |
