Commit e638776f authored by Zhong Jinghua's avatar Zhong Jinghua Committed by Li Nan
Browse files

block: Set memalloc_noio to false in the error path



hulk inclusion
category: bugfix
bugzilla: 188217

----------------------------------------

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: default avatarZhong Jinghua <zhongjinghua@huawei.com>
Signed-off-by: default avatarLi Nan <linan122@huawei.com>
parent 312f76c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment