Skip to content
Commit 8b0d7f56 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Bob Peterson
Browse files

gfs2: Fix wrong error handling in init_gfs2_fs()



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: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent a18c78c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment