Re: [PATCH] btrfs: rename btrfs_get_block_group_info and make it static

2018-04-05 Thread David Sterba
On Mon, Apr 02, 2018 at 05:24:11PM +0800, Su Yue wrote: > 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.

Re: [PATCH] btrfs: rename btrfs_get_block_group_info and make it static

2018-04-02 Thread Nikolay Borisov
On 2.04.2018 12:24, Su Yue wrote: > 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 ty

[PATCH] btrfs: rename btrfs_get_block_group_info and make it static

2018-04-02 Thread Su Yue
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