]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: rename btrfs_get_block_group_info and make it static
authorSu Yue <suy.fnst@cn.fujitsu.com>
Mon, 2 Apr 2018 09:24:11 +0000 (17:24 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 11:12:11 +0000 (13:12 +0200)
commita819ed48c18ce753a5185dfbd025a277e93c7fd5
treeceabc0f531cca56d4cec583a157b1b4f35837602
parent2ecaf2ff4a0f511288d14d85d5b1b71b3a970d0c
btrfs: rename btrfs_get_block_group_info and make it static

The function btrfs_get_block_group_info() was introduced by the
commit 66e16ab75835 ("Btrfs: make filesystem read-only when submitting
 barrier fails") which used it in disk-io.c.

However, the function is only called in ioctl.c now.
Its parameter type btrfs_ioctl_space_info* is only for ioctl.

So, make it static and rename it to be original name
get_block_group_info.

No functional change.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c