On Jun 18, 2007, at 1:37 PM, Herb Lewis wrote:
I'm confused by when to use SMB_VFS_LAYER_TRANSPARENT vs
SMB_VFS_LAYER_OPAQUE.
It seems to me from looking at the example modules, that only
those functions that call SMB_VFS_NEXT_xxx should be listed as
TRANSPARENT but that is not the case for most modules. Am I
misunderstanding something here on the use of these flags?
nope, you're correct
If all the function does is return results for the intended
function and not make any calls to the next layer shouldn't
it be OPAQUE?
They should be using OPAQUE. However, there's nothing to enforce this
at runtime and the net result should be the same.
--
James Peach | jpeach@xxxxxxxxx
|