Skip to content
Commit 2741b672 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Fix rounding error in gfs2_iomap_page_prepare

The pos and len arguments to the iomap page_prepare callback are not
block aligned, so we need to take that into account when computing the
number of blocks.

Fixes: d0a22a4b

 ("gfs2: Fix iomap write page reclaim deadlock")
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent dc8ca9cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment