]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Clean up {lookup,fillup}_metapath
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 8 Dec 2017 16:01:57 +0000 (17:01 +0100)
committerBob Peterson <rpeterso@redhat.com>
Wed, 17 Jan 2018 13:35:48 +0000 (06:35 -0700)
commitaf523553272c7662b953ae83f2e0e8fb45e62260
tree1d99bd058eef39dd06e00ea21f378cb6501fcf52
parent3f61bb08d585c828e62d7114c213313d2f5622b8
gfs2: Clean up {lookup,fillup}_metapath

Split out the entire lookup loop from lookup_metapath and
fillup_metapath.  Make both functions return the actual height in
mp->mp_aheight, and return 0 on success.  Handle lookup errors properly
in trunc_dealloc.

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