]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: simplify gfs2_block_map
authorBob Peterson <rpeterso@redhat.com>
Wed, 19 Aug 2020 14:24:48 +0000 (09:24 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 15 Oct 2020 12:29:04 +0000 (14:29 +0200)
commite502557f6734a2baa4233d0ba027c346824d04e1
tree3662e5ba687b0d8fe99d2869b295d940cd717250
parentf069108811c1bdce29570ab0e9c02b46a6d90686
gfs2: simplify gfs2_block_map

Function gfs2_block_map had a lot of redundancy between its create and
no_create paths. This patch simplifies the code to eliminate the redundancy.

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