]> www.infradead.org Git - users/dwmw2/linux.git/commit
firewire: core: use guard macro to maintain RCU scope for transaction address handler
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:56 +0000 (17:53 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:56 +0000 (17:53 +0900)
commiteade1e1ba2236f8f51e357a690ca70a41fe34d2d
treecca45a573863f83abc0405272849d26801d0478d
parent6d72fbc81634b3c9423bf96207121ed7dd6bdc11
firewire: core: use guard macro to maintain RCU scope for transaction address handler

The core function maintains address handlers by list. RCU is utilized
for efficient read access to any entries in the list.

This commit uses guard macro to maintain RCU locking and releasing.

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