[PATCH openEuler-5.10 041/102] dm: fix null pointer dereference in dev_create()