If possible (O_DIRECTORY exists) open an fd for a directory open.
authorJeremy Allison <jra@samba.org>
Tue, 8 Feb 2011 04:46:36 +0000 (20:46 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 8 Feb 2011 05:34:41 +0000 (06:34 +0100)
commite68f6adca9494166bf7c24c358ea1af718970b0d
tree59e037538cbd333b367615c690ed218f93b66878
parentdd7313a1307aa2b3e7d10678a2bce6690e1c2125
If possible (O_DIRECTORY exists) open an fd for a directory open.

Start of the move towards handle-based code for directory access.
Currently makes fstat/fchown code work for directories rather than
falling back to pathnames.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb  8 06:34:41 CET 2011 on sn-devel-104
source3/modules/nfs4_acls.c
source3/modules/vfs_afsacl.c
source3/smbd/open.c
source3/smbd/smb2_getinfo.c
source3/smbd/smb2_setinfo.c
source3/smbd/trans2.c
source3/smbd/vfs.c