s3: files_struct->mode is only written, remove it
[ira/wip.git] / source3 / smbd / files.c
index 66ccb288da17d1e6682d8c30513b7d98fca62a99..4a8967e9649203ecc2c9812d848dd19074ac4f7f 100644 (file)
@@ -565,7 +565,6 @@ NTSTATUS dup_file_fsp(struct smb_request *req, files_struct *from,
 
        to->file_id = from->file_id;
        to->initial_allocation_size = from->initial_allocation_size;
-       to->mode = from->mode;
        to->file_pid = from->file_pid;
        to->vuid = from->vuid;
        to->open_time = from->open_time;