diff options
| author | hannken <hannken@NetBSD.org> | 2008-08-12 10:14:37 +0000 |
|---|---|---|
| committer | hannken <hannken@NetBSD.org> | 2008-08-12 10:14:37 +0000 |
| commit | 93d3ff0e452eba6e11d0e3083642778aad63647f (patch) | |
| tree | 4a82b4be7da7812a6a83b06a93347fb3740b68a3 /gnu/usr.bin/diffutils/diff | |
| parent | 18a7b6ae04f457fd071effc2dbd0205f830ae8ea (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 'gnu/usr.bin/diffutils/diff')
0 files changed, 0 insertions, 0 deletions
