From 220c289ecf01bb6a0915cd2427bb8408ea4a299e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Oct 2004 07:04:10 +0000 Subject: r3247: FILE_ATTRIBUTE_NORMAL is only a null-op for setattr and setattre, not basic_info (This used to be commit 36286e477c9bc7b6e268fffb123b565b6e897a44) --- source4/ntvfs/posix/pvfs_setfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ntvfs') 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; -- cgit