[patch] Cascaded VFS v.4
Alexander Bokovoy
a.bokovoy at sam-solutions.net
Tue Jul 9 03:55:01 GMT 2002
On Tue, Jul 09, 2002 at 12:59:28PM +0300, TUDOR Coserea wrote:
> Hi,
Hi, Tudor!
> Apropos VFS patch shouldn't be
> -D_LARGEFILE64_SOURCE instead of -D_LARGEFILE63_SOURCE ?
There is no such define in new patch. It was, indeed, in old
examples/VFS/block/Makefile but now it is replaced by correct code
which is autogenerated with all needed CFLAGS from main configure (source/configure)
> And another question:
> I used VFS to build a antivirus scanner and on close method I
> need (const struct files_struct*)->fsp_name which position
> depends by this _LARGEFILE64_SOURCE. If one of smbd and my
> scanner is build with this flag and other is not, on close
> method smbd with my scanner will crash. Could be rearranged
> files in this struct such as fields dependent by compilation
> flags be the last?
Could you please show how would this struct look correctly? There are
files_struct entries (next,prev), various SMB_XXX (dev, inode, pos, size)
which all are variable-sized...
--
/ Alexander Bokovoy
---
Communications satellite used by the military for star wars.
More information about the samba-technical
mailing list