s3:smbd: make struct vfs_fsp_data private to vfs.c
authorStefan Metzmacher <metze@samba.org>
Mon, 4 Jun 2012 15:57:36 +0000 (17:57 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 6 Jun 2012 08:18:37 +0000 (10:18 +0200)
metze

source3/include/smb.h
source3/smbd/vfs.c

index 206820ba4cf4073b9c24a7da5974b96763a5ef93..88544b3c413f7d0bda75ff3bbd9de8ac02d25bb8 100644 (file)
@@ -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
 
index 60320e60692bbf4020356936a90a0dce71d907eb..6d090a95de76a48312feb4110b07df0ed57b55ec 100644 (file)
 
 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;