Hi, There is a problem with definition of SMB_STRUCT_STAT. I have VFS module which includes this: #include <stdio.h> #include <ibase.h> #include <stdlib.h> #include <string.h> #include <dirent.h> #include "includes.h" then size of SMB_STRUCT_STAT is 88 and dir on share is: . D 0 Tue Jul 23 02:00:00 2002 .. D 0 Tue Jul 23 02:00:00 2002 ahoj 17592186352456 Thu Jan 1 01:02:36 1970 frufru.mp3 17592186352456 Thu Jan 1 01:02:36 1970 after I move "includes.h" to the first place, then it works correctly. I believe that it should work correctly even if it is placed last.
I would classify this as a bug in your vfs module unless you can help me understand why this would be our bug ? A patch would be nice. Thanks.