[PATCH openEuler-5.10 16/20] ubi: fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl