CVSROOT: /cvs Module name: src Changes by: [email protected] 2011/07/03 11:42:42
Modified files:
sys/dev : vnd.c
Log message:
Fix vnd(4) support for read-only files. We can't clear sc_flags
before closing the vnode, because VNDRW() checks for the VNF_READONLY
bit and the vnode layer doesn't like it when you close a read-only
vnode with FREAD|FWRITE.
ok deraadt@
