VFS MODULE writers HEAD's up!!! Fixing Cascaded VFS modules

Jelmer Vernooij jelmer at samba.org
Fri Apr 18 22:37:32 GMT 2003


On Fri, Apr 18, 2003 at 11:41:16PM +0200, Stefan (metze) Metzmacher wrote about 'VFS MODULE writers HEAD's up!!! Fixing Cascaded VFS modules':
> the current design of handling the cascaded vfs modules.

> is broken for the following setup:

> [share1]
>         path = /data1
>         vfs object = audit recycle

> [share2]
>         path = /data2
>         vfs object = audit fake_perms

> 1.)Since the audit module has a global:
> vfs_ops default_vfs_ops; struct

> this can only holds the recylce vfs_ops OR the fake_perms ops.

> So what we need is, a function witch returns the default vfs_ops
> for the module and the current onnection.

> So Jelmer and me have choosen a solution for this.
The proposal we agreed upon was for the 'truly' fixed
interface (e.g. also fixing the point 4 you mentioned), which 
would probably go into 3.1. Also that
we shouldn't make any changes in the current interface for 3.0, but I'm not
really sure whether your current patch is the right way to get VFS 
correct for 3.0.

Let's discuss this some more - I'll send some more comments after I've
looked at your lp_param patches :-)

Jelmer

-- 
Jelmer Vernooij                                      <jelmer at samba.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030419/29d9e4b4/attachment.bin


More information about the samba-technical mailing list