From 8e7f33e93df9557228d17a50b83b7abd9c8fdd43 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Nov 2004 10:09:50 +0000 Subject: r3596: MODE_INFORMATION tests now pass. Only RENAME_INFORMATION level left to support RAW-SFILEINFO (This used to be commit 20fc3a25ef775fc366711501ca83914335e8fae1) --- source4/ntvfs/posix/pvfs_qfileinfo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/ntvfs') diff --git a/source4/ntvfs/posix/pvfs_qfileinfo.c b/source4/ntvfs/posix/pvfs_qfileinfo.c index 51aadc07a5..5847b1a2cc 100644 --- a/source4/ntvfs/posix/pvfs_qfileinfo.c +++ b/source4/ntvfs/posix/pvfs_qfileinfo.c @@ -182,7 +182,7 @@ static NTSTATUS pvfs_map_fileinfo(struct pvfs_state *pvfs, TALLOC_CTX *mem_ctx, return NT_STATUS_OK; case RAW_FILEINFO_MODE_INFORMATION: - info->mode_information.out.mode = 0; /* what is this? */ + info->mode_information.out.mode = 0; return NT_STATUS_OK; case RAW_FILEINFO_ALIGNMENT_INFORMATION: @@ -284,6 +284,10 @@ NTSTATUS pvfs_qfileinfo(struct ntvfs_module_context *ntvfs, info->access_information.out.access_flags = f->access_mask; break; + case RAW_FILEINFO_MODE_INFORMATION: + info->mode_information.out.mode = f->mode; + break; + default: break; } -- cgit