Auto merged

2003/09/24 14:13:09+01:00 cantab.net!aia21
The workaround for the bug in ntfs_attr_lookup() no longer needed as the bug should be fixed.

(Logical change 1.182)
This commit is contained in:
cantab.net!aia21 2003-09-24 13:16:33 +00:00
parent e9bce127fa
commit f7c342dafe

View File

@ -395,7 +395,6 @@ int utils_inode_get_name (ntfs_inode *inode, char *buffer, int bufsize)
ntfs_volume *vol;
ntfs_attr_search_ctx *ctx;
ATTR_RECORD *rec;
ATTR_RECORD *oldrec;
FILE_NAME_ATTR *attr;
int name_space;
MFT_REF parent = FILE_root;
@ -421,11 +420,7 @@ int utils_inode_get_name (ntfs_inode *inode, char *buffer, int bufsize)
//printf ("i = %d, inode = %p (%lld)\n", i, inode, inode->mft_no);
name_space = 4;
oldrec = NULL;
while ((rec = find_attribute (AT_FILE_NAME, ctx))) {
if (rec == oldrec)
break;
oldrec = rec;
/* We know this will always be resident. */
attr = (FILE_NAME_ATTR *) ((char *) rec + le16_to_cpu (rec->value_offset));