Displaying 1 result from an estimated 1 matches for "ntfs_sb".
2014 Feb 20
2
[PATCH] NTFS: fragmented $MFT file was not handled
...d validate single MFT record. Keep in mind that MFT
itself can be fragmented */
+static struct ntfs_mft_record *ntfs_mft_record_lookup_any(struct
fs_info *fs,
+ uint32_t file, block_t
*out_blk, bool is_v31)
{
const uint64_t mft_record_size = NTFS_SB(fs)->mft_record_size;
- uint8_t *buf;
- const block_t mft_blk = NTFS_SB(fs)->mft_blk;
- block_t cur_blk;
- block_t right_blk;
- uint64_t offset;
- uint64_t next_offset;
+ uint8_t *buf = NULL;
const uint32_t mft_record_shift = ilog2(mft_record_size);
const uint...