Make the smbd VFS typesafe
[samba.git] / source3 / include / smb.h
index 2e9cf1b54aaced4478889fa8d5c0fa166ab95d19..1c4ac547228ab739a0920b193e9bcf643404dd4d 100644 (file)
@@ -452,7 +452,7 @@ typedef struct files_struct {
        bool lockdb_clean;
        bool initial_delete_on_close; /* Only set at NTCreateX if file was created. */
        bool posix_open;
-       char *fsp_name;
+       struct smb_filename *fsp_name;
 
        struct vfs_fsp_data *vfs_extension;
        struct fake_file_handle *fake_file_handle;
@@ -560,8 +560,6 @@ typedef struct connection_struct {
        char *connectpath;
        char *origpath;
 
-       struct vfs_ops vfs;                   /* Filesystem operations */
-       struct vfs_ops vfs_opaque;                      /* OPAQUE Filesystem operations */
        struct vfs_handle_struct *vfs_handles;          /* for the new plugins */
 
        /*