Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIR
authorSteven Danneman <steven.danneman@isilon.com>
Fri, 23 Jan 2009 04:14:38 +0000 (20:14 -0800)
committerSteven Danneman <steven.danneman@isilon.com>
Tue, 10 Feb 2009 07:56:16 +0000 (23:56 -0800)
commitaf0e199b31ea4132e369508d72888757887b3327
tree38be76f86b5c7b226785ed8c5cec559fab775756
parent9a7491e83177ba32e30f29e1b84b8b8be9888953
Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIR

* this allows VFS implementations that prefetch stat information on
  readdir to return it through one VFS call
* backwards compatibility is maintained by passing in NULL
* if the system readdir doesn't return stat info, the stat struct is
  set to invalid
12 files changed:
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/onefs_streams.c
source3/modules/vfs_cap.c
source3/modules/vfs_catia.c
source3/modules/vfs_default.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_shadow_copy.c
source3/modules/vfs_shadow_copy2.c
source3/modules/vfs_streams_depot.c
source3/smbd/vfs.c
source3/torture/cmd_vfs.c