]> git.itanic.dy.fi Git - linux-stable/commit
eventfd: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Dec 2023 17:32:18 +0000 (18:32 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 12 Dec 2023 13:24:55 +0000 (14:24 +0100)
commit434225230081b2b3435703decfa9c4214aac22ce
tree7d58ccffa1cfe4e15b5e015c25c3f9fa1d086ffe
parent2b46a19db0a1769a25adc65d1784b68bd8b60046
eventfd: Remove usage of the deprecated ida_simple_xx() API

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/575dcecd51097dd30c5515f9f0ed92076b4ef403.1702229520.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/eventfd.c