[openEuler-5.10 333/496] null_blk: fix ida error handling in null_add_dev()