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 18:33:38 +0000 (10:33 -0800)
commitc7344c49188a2b2149327db82712f693eba96f17
treec1276a8de843d210c233521278fb90f4d81b7592
parent5624aa8eafa9220d93db4bd47e6a383e9bca47ef
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
(cherry picked from commit e68f6adca9494166bf7c24c358ea1af718970b0d)
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