diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-07 10:09:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:37 -0500 |
commit | 8e7f33e93df9557228d17a50b83b7abd9c8fdd43 (patch) | |
tree | 6d4b63cf7bef3c874da39eff974e56e81b3b56c3 /source4 | |
parent | 2db915e06564b42bf7ebfa526b1af2e42e591590 (diff) | |
download | samba-8e7f33e93df9557228d17a50b83b7abd9c8fdd43.tar.gz samba-8e7f33e93df9557228d17a50b83b7abd9c8fdd43.tar.bz2 samba-8e7f33e93df9557228d17a50b83b7abd9c8fdd43.zip |
r3596: MODE_INFORMATION tests now pass. Only RENAME_INFORMATION level left to
support RAW-SFILEINFO
(This used to be commit 20fc3a25ef775fc366711501ca83914335e8fae1)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/posix/pvfs_qfileinfo.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |