Loading
null_blk: Remove usage of the deprecated ida_simple_xx() API
stable inclusion from stable-v6.6.55 commit 95931a245b44ee04f3359ec432e73614d44d8b38 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB0MX4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=95931a245b44ee04f3359ec432e73614d44d8b38 -------------------------------- [ Upstream commit 95931a245b44ee04f3359ec432e73614d44d8b38 ] ida_alloc() and ida_free() should be preferred to the deprecated ida_simple_get() and ida_simple_remove(). This is less verbose. Signed-off-by:Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/bf257b1078475a415cdc3344c6a750842946e367.1705222845.git.christophe.jaillet@wanadoo.fr Signed-off-by:
Jens Axboe <axboe@kernel.dk> (cherry picked from commit 95931a245b44ee04f3359ec432e73614d44d8b38) [Harshit: backport to 6.6.y] Signed-off-by:
Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Signed-off-by:
Vegard Nossum <vegard.nossum@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> [ Confilct: drivers/block/null_blk/main.c ] (cherry picked from commit b2b02202f87dd7c9a981008712f4efa3d7190ed8) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>