]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: split glock instantiation off from do_promote
authorBob Peterson <rpeterso@redhat.com>
Wed, 6 Oct 2021 13:59:52 +0000 (08:59 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 25 Oct 2021 06:42:19 +0000 (08:42 +0200)
commitddf84f6d2dae0a9043bbd83e8653a7c71ae1f002
tree2a164e13c4e3fa49013ce84cbae493b93fa7cf71
parent95db373a3c0f989395cc1927ac99b2d2a2239e2e
gfs2: split glock instantiation off from do_promote

Before this patch, function do_promote had a section of code that did
the actual instantiation.  This patch splits that off into its own
function, gfs2_instantiate, which prepares us for the next patch that
will use that function.

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