]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: send: make fs_path_len() inline and constify its argument
authorFilipe Manana <fdmanana@suse.com>
Tue, 19 Aug 2025 02:40:20 +0000 (22:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:41 +0000 (16:28 +0200)
commit0852c97fec9ca7211a8aef67322a9c38c43d5ef8
tree3c7013c462dacdab89ef2efa113f716c2c48e159
parent8f3aae5fd76d29046bd39de68c80317facde0d60
btrfs: send: make fs_path_len() inline and constify its argument

[ Upstream commit 920e8ee2bfcaf886fd8c0ad9df097a7dddfeb2d8 ]

The helper function fs_path_len() is trivial and doesn't need to change
its path argument, so make it inline and constify the argument.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/send.c