lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gfs2: Fix wrong error handling in init_gfs2_fs()
----- 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@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

\
 
 \ /
  Last update: 2017-11-28 14:42    [W:0.042 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site