]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: send: implement fs_path_add_path() using fs_path_add()
authorFilipe Manana <fdmanana@suse.com>
Wed, 5 Feb 2025 12:23:11 +0000 (12:23 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:45 +0000 (20:35 +0100)
commita3d37502e7d9aca163459c6d715a5e79250aeb33
tree29801dbd4d722a543cf812e4c5f2dfb5a6470961
parentc727371879488449a71d8ee7e199b30290ad0953
btrfs: send: implement fs_path_add_path() using fs_path_add()

The helper fs_path_add_path() is basically a copy of fs_path_add() and it
can be made a wrapper around fs_path_add(). So do that and also make it
inline and constify its second 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