r15734: This is a major change to the NTVFS subsystem:
authorStefan Metzmacher <metze@samba.org>
Sat, 20 May 2006 08:15:22 +0000 (08:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:08:10 +0000 (14:08 -0500)
commit287fc1c22d670f6e568014b420f7f4cb31dc7958
tree4624fd072003092bbce6532c9a708ddec0d3396f
parentc6d20c22454b87b4dea3527f0efcecd373679848
r15734: This is a major change to the NTVFS subsystem:

- to use a struct ntvfs_handle instead of a uint16_t fnum.
  (to make it independend from the frontend protocol)
- the allocation of handles now is provided by the frontend
  (smbsrv_*) via callbacks and not by each backend module
- this also makes sure that file handles are only passed
  to the ntvfs subsystem when the tcon and session matches,
  so modules can rely on this and need to check this.
- this allows multiple modules in the ntvfs module chain
  to allocate file handles. This can be used for virtual
  files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"...
- also this will make SMB2 with 128 bit file handles possible

metze
33 files changed:
source/ntvfs/cifs/vfs_cifs.c
source/ntvfs/cifs_posix_cli/vfs_simple.c
source/ntvfs/common/brlock.c
source/ntvfs/ipc/vfs_ipc.c
source/ntvfs/nbench/vfs_nbench.c
source/ntvfs/ntvfs.h
source/ntvfs/ntvfs_generic.c
source/ntvfs/ntvfs_interface.c
source/ntvfs/ntvfs_util.c
source/ntvfs/posix/pvfs_flush.c
source/ntvfs/posix/pvfs_ioctl.c
source/ntvfs/posix/pvfs_lock.c
source/ntvfs/posix/pvfs_notify.c
source/ntvfs/posix/pvfs_open.c
source/ntvfs/posix/pvfs_qfileinfo.c
source/ntvfs/posix/pvfs_read.c
source/ntvfs/posix/pvfs_seek.c
source/ntvfs/posix/pvfs_setfileinfo.c
source/ntvfs/posix/pvfs_write.c
source/ntvfs/posix/vfs_posix.c
source/ntvfs/posix/vfs_posix.h
source/ntvfs/simple/svfs.h
source/ntvfs/simple/vfs_simple.c
source/smb_server/config.mk
source/smb_server/handle.c [new file with mode: 0644]
source/smb_server/smb/nttrans.c
source/smb_server/smb/receive.c
source/smb_server/smb/reply.c
source/smb_server/smb/request.c
source/smb_server/smb/service.c
source/smb_server/smb/trans2.c
source/smb_server/smb_server.h
source/smb_server/tcon.c