]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: send: make fs_path_len() inline and constify its argument
authorFilipe Manana <fdmanana@suse.com>
Tue, 4 Feb 2025 16:41:01 +0000 (16:41 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:44 +0000 (20:35 +0100)
commit920e8ee2bfcaf886fd8c0ad9df097a7dddfeb2d8
treee7592c3085e4d5180b2deab9742edcb81d00f1a4
parent75dfc5d0cabb9dfb071583e1e30facee6a113227
btrfs: send: make fs_path_len() inline and constify its argument

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>
fs/btrfs/send.c