mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
The error may happen at any iteration of the for loop, this patch properly unregisters already registed edd_devices in error path. [[email protected]: remove unneeded NULL test] Signed-off-by: Axel Lin <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>