]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: move space_info_flag_to_str() to space-info.h
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 17 Dec 2025 13:41:38 +0000 (14:41 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:49:12 +0000 (07:49 +0100)
commit2ef2e97fe74e937a246681713434ca16d8e5552e
tree57df83f8af7bebbfcdbe027d12e9db37b765577e
parent6a5ac228d4ad05c250de0bf06713d81bfb70c714
btrfs: move space_info_flag_to_str() to space-info.h

Move space_info_flag_to_str() to space-info.h and as it now isn't static
to space-info.c any more prefix it with 'btrfs_'.

This way it can be re-used in other places.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c
fs/btrfs/space-info.h