freebsd-dev/sys/cddl/compat
Pawel Jakub Dawidek fd66267ffb - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call
zfs_access() instead of vaccess() in this case as well.
- If VADMIN is specified with another V* flag (unlikely) call both
  zfs_access() and vaccess() after spliting V* flags.

This fixes "dirtying snapshot!" panic.

PR:		kern/139806
Reported by:	Carl Chave <carl@chave.us>
In co-operation with:	jh
MFC after:	3 days
2009-10-30 23:33:06 +00:00
..
opensolaris - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call 2009-10-30 23:33:06 +00:00