mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Revert "bdi: add error handle for bdi_debug_register"
This reverts commit a0747a859e.
It breaks some booting for some users, and more than a week
into this, there's still no good fix. Revert this commit
for now until a solution has been found.
Reported-by: Laura Abbott <[email protected]>
Reported-by: Bruno Wolff III <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
0864fe09ab
commit
6d0e4827b7
1 changed files with 1 additions and 4 deletions
|
|
@ -882,13 +882,10 @@ int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, va_list args)
|
|||
if (IS_ERR(dev))
|
||||
return PTR_ERR(dev);
|
||||
|
||||
if (bdi_debug_register(bdi, dev_name(dev))) {
|
||||
device_destroy(bdi_class, dev->devt);
|
||||
return -ENOMEM;
|
||||
}
|
||||
cgwb_bdi_register(bdi);
|
||||
bdi->dev = dev;
|
||||
|
||||
bdi_debug_register(bdi, dev_name(dev));
|
||||
set_bit(WB_registered, &bdi->wb.state);
|
||||
|
||||
spin_lock_bh(&bdi_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue