]> 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)
commitc18dccbd9df99f2ba62cdb23f7d755b0be3d88f5
tree2a164e13c4e3fa49013ce84cbae493b93fa7cf71
parent12a2f699da912355a4b7380a5e28031f1cf153ea
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