[PATCH] vfs_default: fix vfswrap_get_compression declaration

David Disseldorp ddiss at samba.org
Thu Dec 5 12:09:28 MST 2013


Incorrectly specifies struct smb_fname instead of struct smb_filename.

Signed-off-by: David Disseldorp <ddiss at samba.org>
---
 source3/modules/vfs_default.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 90c772b..2d49a94 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1492,7 +1492,7 @@ static NTSTATUS vfswrap_copy_chunk_recv(struct vfs_handle_struct *handle,
 static NTSTATUS vfswrap_get_compression(struct vfs_handle_struct *handle,
 					TALLOC_CTX *mem_ctx,
 					struct files_struct *fsp,
-					struct smb_fname *smb_fname,
+					struct smb_filename *smb_fname,
 					uint16_t *_compression_fmt)
 {
 	return NT_STATUS_INVALID_DEVICE_REQUEST;
-- 
1.8.1.4



More information about the samba-technical mailing list