]> Git Repo - linux.git/commit - fs/btrfs/ioctl.c
btrfs: rename btrfs_get_block_group_info and make it static
authorSu Yue <[email protected]>
Mon, 2 Apr 2018 09:24:11 +0000 (17:24 +0800)
committerDavid Sterba <[email protected]>
Mon, 28 May 2018 11:12:11 +0000 (13:12 +0200)
commitc065f5b1cf52d50b9518aa02c7e50415820895af
treeceabc0f531cca56d4cec583a157b1b4f35837602
parent29d2b84cf92780b74fd768f5506b0fc8dab56237
btrfs: rename btrfs_get_block_group_info and make it static

The function btrfs_get_block_group_info() was introduced by the
commit 5af3e8cce8b7 ("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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
This page took 0.044031 seconds and 4 git commands to generate.