]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 18 Jun 2024 14:11:37 +0000 (17:11 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 11 Jul 2024 09:19:43 +0000 (12:19 +0300)
commiteb95678ee930d67d79fc83f0a700245ae7230455
treea67974413002097225a7b35f3df0afe2c59da330
parent2cbbd96820255fff4f0ad1533197370c9ccc570b
fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP

We skip the run_truncate_head call also for $MFT::$ATTR_BITMAP.
Otherwise wnd_map()/run_lookup_entry will not find the disk position for the bitmap parts.

Fixes: 0e5b044cbf3a ("fs/ntfs3: Refactoring attr_set_size to restore after errors")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c