fs/ntfs3: Add functions to modify LE bitmaps
authorThomas Kühnel <thomas.kuehnel@avm.de>
Tue, 7 Dec 2021 10:24:54 +0000 (11:24 +0100)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 14 Nov 2022 16:50:41 +0000 (19:50 +0300)
commit88a8d0d2482f60596eec875ba5ba62901d8274ff
tree5b82343648932049a89262bc07b42ea034682464
parent90c1cd540cc81023c5826891f3793ea159c4562e
fs/ntfs3: Add functions to modify LE bitmaps

__bitmap_set/__bitmap_clear only works with bitmaps in CPU order.
Define a variant of these functions in ntfs3 to handle modifying bitmaps
read from the filesystem.

Signed-off-by: Thomas Kühnel <thomas.kuehnel@avm.de>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/bitmap.c
fs/ntfs3/fslog.c
fs/ntfs3/ntfs_fs.h