From 4de7c6fde0f095b692e6f686fc2b05033c3bebee Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Fri, 5 Mar 2004 11:41:37 +0000 Subject: [PATCH] Make ntfs_attrs_walk() use AT_UNUSED and CASE_SENSITIVE instead of zero when calling ntfs_lookup() for type checking correctness. (Yuval Fledel) (Logical change 1.297) --- include/ntfs/attrib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ntfs/attrib.h b/include/ntfs/attrib.h index 155f9bb9..402694ce 100644 --- a/include/ntfs/attrib.h +++ b/include/ntfs/attrib.h @@ -117,7 +117,8 @@ extern ATTR_DEF *ntfs_attr_find_in_attrdef(const ntfs_volume *vol, */ static __inline__ int ntfs_attrs_walk(ntfs_attr_search_ctx *ctx) { - return ntfs_attr_lookup(0, NULL, 0, 0, 0, NULL, 0, ctx); + return ntfs_attr_lookup(AT_UNUSED, NULL, 0, CASE_SENSITIVE, 0, + NULL, 0, ctx); } /**