diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2017-11-27 08:56:34 -0600 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2017-11-27 10:47:22 -0600 |
commit | 8b0d7f56b97b95a442b6785027a0f80ad1ea54af (patch) | |
tree | 73a58a51514976cd9becd6ccb2d692e6582a45de /fs/gfs2/aops.c | |
parent | a18c78c5f5e39978231cb30f037bdb634cd98f6c (diff) |
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: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/aops.c')
0 files changed, 0 insertions, 0 deletions