ntfs3: Remove an access to page->index
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Nov 2024 19:44:28 +0000 (19:44 +0000)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 18 Dec 2024 13:42:01 +0000 (16:42 +0300)
commit1f2bf7049f6ef6048b56b18d0033d3e77b28f973
treebd7bf346bd59ef23fae4dd40250b70a71b27bab9
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
ntfs3: Remove an access to page->index

Convert the first page passed to ni_write_frame() to a folio and use
folio_pos() on that instead of open-coding the access to folio->index,
cast & shift.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/frecord.c