freebsd-dev/sys/cddl/compat/opensolaris
Pawel Jakub Dawidek 5f99f88975 MFC r198703,r199156,r199157:
r198703:

- 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

r199156:

Avoid passing invalid mountpoint to getnewvnode().

Reported by:	rwatson
Tested by:	rwatson

r199157:

Be careful which vattr fields are set during setattr replay.
Without this fix strange things can appear after unclean shutdown like
files with mode set to 07777.

Reported by:	des
2009-11-14 11:59:59 +00:00
..
kern MFC r197831,r197842,r197843,r197860,r197861: 2009-10-12 20:36:55 +00:00
rpc MFC r196395: 2009-08-20 00:08:58 +00:00
sys MFC r198703,r199156,r199157: 2009-11-14 11:59:59 +00:00