ntfs_ir_make_space: prefer INDEX_ALLOCATION instead of ATTRIBUTE_LIST
parent
02f8eb12c2
commit
bac5d23b7b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue