]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Register fs after creating workqueues
authorBob Peterson <rpeterso@redhat.com>
Tue, 30 Aug 2022 18:52:13 +0000 (13:52 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 20 Sep 2022 15:53:54 +0000 (17:53 +0200)
commitd132c18da57be759283e39d9ed9761382e1a6012
tree6a3a06b1997cc37af096cdceaf8d3489a08aa4b7
parent94e2688e4a88e0e6dd00b393621205b19f55ec2a
gfs2: Register fs after creating workqueues

Before this patch, the gfs2 file system was registered prior to creating
the three workqueues. In some cases this allowed dlm to send recovery
work to a workqueue that did not yet exist because gfs2 was still
initializing.

This patch changes the order of gfs2's initialization routine so it only
registers the file system after the work queues are created.

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