ntfs_ir_make_space: prefer INDEX_ALLOCATION instead of ATTRIBUTE_LIST

master
szaka 2009-03-22 00:06:10 +00:00
parent 02f8eb12c2
commit bac5d23b7b
1 changed files with 5 additions and 9 deletions

View File

@ -1229,15 +1229,11 @@ static int ntfs_ir_make_space(ntfs_index_context *icx, int data_size)
ntfs_log_trace("Entering\n");
ret = ntfs_ir_truncate(icx, data_size);
if (ret == STATUS_RESIDENT_ATTRIBUTE_FILLED_MFT) {
ret = ntfs_ir_reparent(icx);
if (ret == STATUS_OK)
ret = STATUS_KEEP_SEARCHING;
else
ntfs_log_perror("Failed to nodify INDEX_ROOT");
}
ret = ntfs_ir_reparent(icx);
if (ret == STATUS_OK)
ret = STATUS_KEEP_SEARCHING;
else
ntfs_log_perror("Failed to nodify INDEX_ROOT");
return ret;
}