removing connection_struct argument from Samba3 VFS
James Peach
jpeach at samba.org
Mon May 29 02:48:41 GMT 2006
Hi all,
In the current VFS, there are 3 ways to get at the connection_struct for
the current connection:
through the VFS handle struct argument
through the files_struct argument
through it being explicitly passed as an argument
I have a patch to remove the explicit passing of connection_struct
argument. Modules would use handle->conn (preferentially), though
existing uses of fsp->conn would be unchanged. you would no longer need
to pass the conn argument through the SMB_VFS_NEXT* macros.
Does anyone forsee any problems with this?
--
James Peach | jpeach at samba.org
More information about the samba-technical
mailing list