]> 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)
commit773e25c1dc4de493845ba850f02f60128baf784a
tree6a3a06b1997cc37af096cdceaf8d3489a08aa4b7
parent3911a11b8916e5a6b8e72633342e9bb20dd09e39
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