gfs2: gfs2_iomap_begin cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 5 Jul 2019 15:38:35 +0000 (17:38 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 9 Aug 2019 16:00:49 +0000 (17:00 +0100)
commit34aad20bc3fff3ce4e3fa8cb1d0265a1df5cded5
tree6dfe03fda2b84b3e1bb7be5eb525207caba2fb71
parenta27a0c9b6a208722016c8ec5ad31ec96082b91ec
gfs2: gfs2_iomap_begin cleanup

Following commit d0a22a4b03b8 ("gfs2: Fix iomap write page reclaim deadlock"),
gfs2_iomap_begin and gfs2_iomap_begin_write can be further cleaned up and the
split between those two functions can be improved.

With suggestions from Christoph Hellwig.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/bmap.c