summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 07:04:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:46 -0500
commit220c289ecf01bb6a0915cd2427bb8408ea4a299e (patch)
treef0dd042dba440d983969a7f26240ad8fd449d45f /source4/ntvfs/posix
parent67bd7a7cb9589b0db874323aa87246a997fcf922 (diff)
downloadsamba-220c289ecf01bb6a0915cd2427bb8408ea4a299e.tar.gz
samba-220c289ecf01bb6a0915cd2427bb8408ea4a299e.tar.bz2
samba-220c289ecf01bb6a0915cd2427bb8408ea4a299e.zip
r3247: FILE_ATTRIBUTE_NORMAL is only a null-op for setattr and setattre, not basic_info
(This used to be commit 36286e477c9bc7b6e268fffb123b565b6e897a44)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/pvfs_setfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c
index 71a9ce1266..4b00a8ac5d 100644
--- a/source4/ntvfs/posix/pvfs_setfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_setfileinfo.c
@@ -90,7 +90,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs,
if (info->basic_info.in.change_time) {
newstats.dos.change_time = info->basic_info.in.change_time;
}
- if (info->basic_info.in.attrib != FILE_ATTRIBUTE_NORMAL) {
+ if (info->basic_info.in.attrib != 0) {
newstats.dos.attrib = info->basic_info.in.attrib;
}
break;