diff options
author | pjd <pjd@FreeBSD.org> | 2004-11-09 23:04:45 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-11-09 23:04:45 +0000 |
commit | 5cac5220465dd3c592edd4fbe3ccc443a89b1221 (patch) | |
tree | 4c7c26474c0ab6e36350a38534d7049ecb957982 /sys/ufs/ffs/ffs_vfsops.c | |
parent | 6f9f259ced1a0072519e6a6859d10b11a0f1cf30 (diff) | |
download | FreeBSD-src-5cac5220465dd3c592edd4fbe3ccc443a89b1221.zip FreeBSD-src-5cac5220465dd3c592edd4fbe3ccc443a89b1221.tar.gz |
For BIO_READ check if provider is open for reading and for BIO_WRITE,
check if provider is open for writing.
This fixes panic when device is open only for writing and we send write
request.
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
0 files changed, 0 insertions, 0 deletions