summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-01 14:04:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:41 -0500
commit30ae843cbf9cd57c052941d3e58785ae5c854624 (patch)
tree6817fdc0828cbaceeadf38f382749d32dea52995 /source4/ntvfs
parent348ad95ea7daa7ed17a0d50ebf642fc41770b631 (diff)
downloadsamba-30ae843cbf9cd57c052941d3e58785ae5c854624.tar.gz
samba-30ae843cbf9cd57c052941d3e58785ae5c854624.tar.bz2
samba-30ae843cbf9cd57c052941d3e58785ae5c854624.zip
r16730: that is correct...
metze (This used to be commit 9c3992a27948f01803650c446914aa24be2a8d7a)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_generic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ntvfs/ntvfs_generic.c b/source4/ntvfs/ntvfs_generic.c
index 5987ff4ba6..8c48e52b5c 100644
--- a/source4/ntvfs/ntvfs_generic.c
+++ b/source4/ntvfs/ntvfs_generic.c
@@ -215,8 +215,7 @@ static NTSTATUS ntvfs_map_open_finish(struct ntvfs_module_context *ntvfs,
io->smb2.out.change_time = io2->generic.out.change_time;
io->smb2.out.alloc_size = io2->generic.out.alloc_size;
io->smb2.out.size = io2->generic.out.size;
- /*io->smb2.out.file_attr = io2->generic.out.attrib; would this be correct? */
- io->smb2.out.file_attr = 0;
+ io->smb2.out.file_attr = io2->generic.out.attrib;
io->smb2.out._pad = 0;
io->smb2.out.blob = data_blob(NULL, 0);
break;