From: Allen P. <pul...@co...> - 2007-10-29 15:29:27
|
> My question is, how to assign a value for fi->fh for the=20 > virtual files in the database? AFAIK, fi-fh is private to your file system. I have a DB backed file = system and its fi-fh is simply a pointer to structure that contains info about = the open file. This structure is malloc'ed and initialized when the file is opened, and then free'd when the handle is released. This seems to work fine. |