]> www.infradead.org Git - users/willy/pagecache.git/commit
block: Simplify read_part_sector()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 03:36:55 +0000 (23:36 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commit1cf29f882fa8e28e18cccc9b0a7e94e391b3291f
tree443f9f9bb2c16b38cf4506511462a4cb4da28587
parent0ba02b002594cc1809da3a05a44bb5b9654448f6
block: Simplify read_part_sector()

That rather complicated expression is just trying to find the offset
of this sector within a page, and there are easier ways to express that.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
block/partitions/core.c