block: Set memalloc_noio to false in the error path
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I81XCK ---------------------------------------- In del_gendisk, memalloc_noio is set to false, so it would be better to do the same thing in the error path. Fixes: c6b84a94528e ("block: add error handling for device_add_disk / add_disk") Signed-off-by:Zhong Jinghua <zhongjinghua@huawei.com> Signed-off-by:
Li Nan <linan122@huawei.com> (cherry picked from commit ffe0955a)
Loading
Please sign in to comment