btrfs: switch all message helpers to be RCU safe
authorDavid Sterba <dsterba@suse.com>
Mon, 9 Jun 2025 17:09:24 +0000 (19:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:56:38 +0000 (23:56 +0200)
commit0e26727a731adf0a67a5eff1ed74f74c420e7080
tree5fd78ec9a35ddee2f2768ef5510ac906f8359111
parent4d4b489ef1d7913cddb26e49e26628fbfd5eeaf4
btrfs: switch all message helpers to be RCU safe

We have two versions of message helpers, one that provides RCU
protection around the call in case we need to dereference device name.
As messages are not performance critical we can set up the RCU
protection for all of them and drop the distinction for those where
device name is needed. This will lead to further simplifications.

Reviewed-by: Daniel Vacek <neelx@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/messages.h