commit | f53056c43063257ae4159d83c425eaeb772bcd71 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Nov 07 18:06:14 2019 +0000 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Thu Nov 07 21:02:02 2019 +0100 |
tree | 728411610adc524257eabfa506d5460536591b36 | |
parent | 39c3a948ecf6e7b8f55f0e91a5febc924fede4d7 [diff] |
gfs2: Multi-block allocations in gfs2_page_mkwrite In gfs2_page_mkwrite's gfs2_allocate_page_backing helper, try to allocate as many blocks at once as we need. Pass in the size of the requested allocation. Fixes: 35af80aef99b ("gfs2: don't use buffer_heads in gfs2_allocate_page_backing") Cc: stable@vger.kernel.org # v5.3+ Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>