vfs_handle_struct->data usage

Linux linux at linuon.com
Sun Apr 23 02:41:38 GMT 2006


I'm writing a module that is extended version of vfs_audit.
In that module I need to keep some data storage while
conn is up. Then I found there's a member "data" in
vfs_handle_struct which seems not being used in smbd
sources, it just gets freed in conn_free if alloc'ed.
So I thought I could use it to hold malloc'ed memory storage
until close() gets called as module private storage.
Would it be problematic in some case or  possibly stomping
"data" storage in some case?

-- Junji Kanemaru
Linuon Inc.
Tokyo Japan

More information about the samba-technical mailing list