diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2019-06-08 13:09:02 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2019-06-14 18:49:07 +0200 |
commit | 2741b6723bf6f7d92d07c44bd6a09c6e37f3f949 (patch) | |
tree | 08eb1d12ae5a2bd73fcb16112781e0cfd6a7a5d7 /kernel/exit.c | |
parent | dc8ca9cc6e23054eb85599c9417ef2416848e7e8 (diff) | |
download | linux-stable-2741b6723bf6f7d92d07c44bd6a09c6e37f3f949.tar.gz linux-stable-2741b6723bf6f7d92d07c44bd6a09c6e37f3f949.tar.bz2 linux-stable-2741b6723bf6f7d92d07c44bd6a09c6e37f3f949.zip |
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: d0a22a4b03b8 ("gfs2: Fix iomap write page reclaim deadlock")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions