Message ID | 35deaddb-fcd8-c4b0-4c5f-6cb8d8495a33@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi everyone-- On Wed, Apr 18, 2018 at 10:17 PM, Coly Li <colyli@suse.de> wrote: > Hi Michael and Jens > > When I do back port of bcache patches, I find commit 539d39eb2708 > ("bcache: fix wrong return value in bch_debug_init()") has extra part > from the original patch which Junhui Tanng posted. Sorry, I must have messed up a rebase. The patch it was combined with is here: https://www.spinics.net/lists/linux-bcache/msg05464.html and was properly signed off and reviewed. Mike
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index c7a02c4..2bb0b28 --- a/drivers/md/bcache/debug.c +++ b/drivers/md/bcache/debug.c @@ -251,8 +251,7 @@ void bch_debug_exit(void) int __init bch_debug_init(struct kobject *kobj) { - int ret = 0; - debug = debugfs_create_dir("bcache", NULL); - return ret; + + return IS_ERR_OR_NULL(debug); }