X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Fattrib.c;h=6c7fb2a2b0c2f517eeb5c88a1bceb4a602e7a8e2;hb=2cf7311f007833d5818fc9241c09a372c0325a4a;hp=55686f7bdc6b101282d1fc63d34fccfc0a43dccb;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/fs/ntfs/attrib.c b/fs/ntfs/attrib.c index 55686f7bd..6c7fb2a2b 100644 --- a/fs/ntfs/attrib.c +++ b/fs/ntfs/attrib.c @@ -963,7 +963,7 @@ int map_run_list(ntfs_inode *ni, VCN vcn) err = -ENOMEM; goto err_out; } - if (!lookup_attr(ni->type, ni->name, ni->name_len, CASE_SENSITIVE, vcn, + if (!lookup_attr(ni->type, ni->name, ni->name_len, IGNORE_CASE, vcn, NULL, 0, ctx)) { put_attr_search_ctx(ctx); err = -ENOENT; @@ -1343,8 +1343,8 @@ err_out: * base inode). * * After finishing with the attribute/mft record you need to call - * put_attr_search_ctx() to cleanup the search context (unmapping any mapped - * inodes, etc). + * release_attr_search_ctx() to cleanup the search context (unmapping any + * mapped inodes, etc). * * Return TRUE if the search was successful and FALSE if not. When TRUE, * @ctx->attr is the found attribute and it is in mft record @ctx->mrec. When @@ -1614,8 +1614,8 @@ not_found: * continue searches where they were left off at. * * After finishing with the attribute/mft record you need to call - * put_attr_search_ctx() to cleanup the search context (unmapping any mapped - * inodes, etc). + * release_attr_search_ctx() to cleanup the search context (unmapping any + * mapped inodes, etc). * * Return TRUE if the search was successful and FALSE if not. When TRUE, * @ctx->attr is the found attribute and it is in mft record @ctx->mrec. When