diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/vfs.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a2fcd95e7d..17c3a5135a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6872,7 +6872,7 @@ void reply_printwrite(struct smb_request *req); void reply_mkdir(struct smb_request *req); NTSTATUS rmdir_internals(TALLOC_CTX *ctx, connection_struct *conn, - const char *directory); + struct smb_filename *smb_dname); void reply_rmdir(struct smb_request *req); NTSTATUS rename_internals_fsp(connection_struct *conn, files_struct *fsp, diff --git a/source3/include/vfs.h b/source3/include/vfs.h index c3580da5d0..cfa3403e82 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -119,7 +119,7 @@ /* Leave at 25 - not yet released. Add strict locking calls. -- drichards. */ /* Changed to version 26 - Plumb struct smb_filename to SMB_VFS_CREATE_FILE, SMB_VFS_OPEN, SMB_VFS_STAT, SMB_VFS_LSTAT, - SMB_VFS_RENAME. */ + SMB_VFS_RENAME, SMB_VFS_UNLINK. */ #define SMB_VFS_INTERFACE_VERSION 26 @@ -366,7 +366,8 @@ struct vfs_ops { int (*fstat)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_STAT *sbuf); int (*lstat)(struct vfs_handle_struct *handle, struct smb_filename *smb_filename); uint64_t (*get_alloc_size)(struct vfs_handle_struct *handle, struct files_struct *fsp, const SMB_STRUCT_STAT *sbuf); - int (*unlink)(struct vfs_handle_struct *handle, const char *path); + int (*unlink)(struct vfs_handle_struct *handle, + const struct smb_filename *smb_fname); int (*chmod)(struct vfs_handle_struct *handle, const char *path, mode_t mode); int (*fchmod)(struct vfs_handle_struct *handle, struct files_struct *fsp, mode_t mode); int (*chown)(struct vfs_handle_struct *handle, const char *path, uid_t uid, gid_t gid); |