]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firewire: core: use guard macro to maintain IDR of isochronous resources for userspac...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:01 +0000 (17:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:01 +0000 (17:54 +0900)
commitd3816b8b988038bd1c4b7fe08f130ba3783a3432
tree630290ff1c3beab2f7e57d44abf38fc6bbd712e5
parent4f1f91aeca50c8ca0bd84baab3c92a0a3b4db2d7
firewire: core: use guard macro to maintain IDR of isochronous resources for userspace clients

The core function provides UAPI to maintain isochronous resources allocated
by userspace clients across bus resets automatically. The resources are
maintained by IDR and the concurrent access to it is protected by spinlock
in the instance of client.

This commit uses guard macro to maintain the spinlock.

Link: https://lore.kernel.org/r/20240805085408.251763-11-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-cdev.c