summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorhannken <hannken@NetBSD.org>2008-08-12 10:14:37 +0000
committerhannken <hannken@NetBSD.org>2008-08-12 10:14:37 +0000
commit93d3ff0e452eba6e11d0e3083642778aad63647f (patch)
tree4a82b4be7da7812a6a83b06a93347fb3740b68a3 /sys/dev/microcode
parent18a7b6ae04f457fd071effc2dbd0205f830ae8ea (diff)
Deny read/write access to snapshot vnodes. We use fss(4) to read from
snapshots. With this policy in place: - Separate the snapshot vnode lock from the snapshot common lock. Snapshots no longer need recursive vnode locks. - Use a mutex (si_snaplock) to serialize creation, deletion, reading and writing of snapshots. - Move ffs_read() for snapshots into ffs_snapshot.c. Reviewed by: Jason Thorpe <thorpej@netbsd.org> While here change ffs_copyonwrite() to fail requests from pagedaemon that need to copy-on-write.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions