[Cluster-devel] [PATCH] gfs2: Fix wrong error handling in init_gfs2_fs()
Bob Peterson
rpeterso at redhat.com
Tue Nov 28 13:41:36 UTC 2017
----- Original Message -----
| init_gfs2_fs() is calling e.g. calling unregister_shrinker() without
| register_shrinker() when an error occurred during initialization.
| Rename goto labels and call appropriate undo function.
|
| Signed-off-by: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
| ---
| fs/gfs2/main.c | 90
| ++++++++++++++++++++++++++++------------------------------
| 1 file changed, 44 insertions(+), 46 deletions(-)
Hi,
ACK.
Thanks; this is a nice cleanup.
This is now pushed to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/?h=for-next&id=8b0d7f56b97b95a442b6785027a0f80ad1ea54af
Regards,
Bob Peterson
Red Hat File Systems
More information about the Cluster-devel
mailing list