diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-04 17:57:36 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-06 10:18:37 +0200 |
commit | cf549ff2bcf165060e9fbfcf395ec808f8c562ad (patch) | |
tree | ad31449eb7d99c8d53134bab1e5390bb83cead75 | |
parent | 4321e1965783a236f9c84bb6d3c1f230fff11430 (diff) | |
download | samba-cf549ff2bcf165060e9fbfcf395ec808f8c562ad.tar.gz samba-cf549ff2bcf165060e9fbfcf395ec808f8c562ad.tar.bz2 samba-cf549ff2bcf165060e9fbfcf395ec808f8c562ad.zip |
s3:smbd: make struct vfs_fsp_data private to vfs.c
metze
-rw-r--r-- | source3/include/smb.h | 10 | ||||
-rw-r--r-- | source3/smbd/vfs.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 206820ba4c..88544b3c41 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -151,16 +151,6 @@ struct wb_context; struct rpc_cli_smbd_conn; struct fncall_context; -struct vfs_fsp_data { - struct vfs_fsp_data *next; - struct vfs_handle_struct *owner; - void (*destroy)(void *p_data); - void *_dummy_; - /* NOTE: This structure contains four pointers so that we can guarantee - * that the end of the structure is always both 4-byte and 8-byte aligned. - */ -}; - /* the basic packet size, assuming no words or bytes */ #define smb_size 39 diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 60320e6069..6d090a95de 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -36,6 +36,16 @@ static_decl_vfs; +struct vfs_fsp_data { + struct vfs_fsp_data *next; + struct vfs_handle_struct *owner; + void (*destroy)(void *p_data); + void *_dummy_; + /* NOTE: This structure contains four pointers so that we can guarantee + * that the end of the structure is always both 4-byte and 8-byte aligned. + */ +}; + struct vfs_init_function_entry { char *name; struct vfs_init_function_entry *prev, *next; |