[Linux-stable-mirror] [PATCH] UBI: block: Fix locking for idr_alloc/idr_remove