bcachefs: make bch2_target_to_text_sb static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 6 Nov 2023 02:34:01 +0000 (10:34 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 14 Nov 2023 02:42:21 +0000 (21:42 -0500)
commit48d584b7f90f48d2623fb01743b099efbf0d36c2
tree518695b5eb5ffe4a04d19a350c34a7cdc64bd0a2
parentb85ea95d086471afb4ad062012a4d73cd328fa86
bcachefs: make bch2_target_to_text_sb static

The bch2_target_to_text_sb are not used outside the file disk_groups.c,
so the modification is defined as static.

fs/bcachefs/disk_groups.c:583:6: warning: no previous prototype for ‘bch2_target_to_text_sb’.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7144
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/disk_groups.c