Skip to content
Commit 8b5d143c authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle)
Browse files

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: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
parent cf948cbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment