]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r198703,r199156,r199157:
authorpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Nov 2009 11:59:59 +0000 (11:59 +0000)
committerpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Nov 2009 11:59:59 +0000 (11:59 +0000)
commitb2d8c4be6d78312cbac2aae84a61fd7e3f44e3bc
tree4894f25810a1b305a38561c9c3c1caa31f3000d2
parent91de4931229092d571547a4649cc41e2a40e3f95
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

git-svn-id: svn://svn.freebsd.org/base/stable/8@199266 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/compat/opensolaris/sys/vnode.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_replay.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h