Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 11/09/2006 15:27:40
Module Name: src
Committed By: jmmv
Date: Thu Nov 9 15:27:40 UTC 2006
Modified Files:
src/sys/dev: vnd.c
Log Message:
Check if the underlying file system supports VOP_BMAP and VOP_STRATEGY and,
if not, fallback to VOP_READ and VOP_WRITE. This makes vnd work with files
on, e.g. tmpfs and smbfs; all file systems should behave as before.
OK'ed by silence in tech-kern@.
To generate a diff of this commit:
cvs rdiff -r1.156 -r1.157 src/sys/dev/vnd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.