search for: non_resident

Displaying 1 result from an estimated 1 matches for "non_resident".

2014 Feb 20
2
[PATCH] NTFS: fragmented $MFT file was not handled
...rec = mrec; + if (get_inode_mode(mrec) != DT_REG) {dprintf("%s: $MFT is not a file\n", __func__); break;} + attr = ntfs_attr_lookup(fs, NTFS_AT_DATA, &mrec, lmrec); + if (!attr) {dprintf("%s: $MFT have no data attr\n", __func__); break;} + if (!attr->non_resident) {dprintf("%s: $MFT data attr is resident\n", __func__); break;} + attr_len = (uint8_t *)attr + attr->len; + stream = mapping_chunk_init(attr, &chunk, &attr_offset); + while (true) { + err = parse_data_run(stream, &attr_offset, attr_len, &chunk);...