]> 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)
commit6c44ff3a57f6efc3d752201c3c0b7fa739ef7510
treeceabc0f531cca56d4cec583a157b1b4f35837602
parentad5c445e28b567db2a23894d3a985d935ce01158
btrfs: rename btrfs_get_block_group_info and make it static

The function btrfs_get_block_group_info() was introduced by the
commit ef7760a09706 ("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