btrfs-progs: move qgroup.h to cmds/

There are declarations that are namely for the command line out put,
filters and formatting. Move it to cmds/.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2021-09-07 18:40:48 +02:00
parent 9d98ad1db5
commit 6e0e0d467f
3 changed files with 5 additions and 4 deletions

View File

@ -16,8 +16,8 @@
* Boston, MA 021110-1307, USA.
*/
#ifndef __BTRFS_QGROUP_H__
#define __BTRFS_QGROUP_H__
#ifndef __CMDS_QGROUP_H__
#define __CMDS_QGROUP_H__
#include "kerncompat.h"
#include "ioctl.h"
@ -110,4 +110,5 @@ int qgroup_inherit_add_copy(struct btrfs_qgroup_inherit **inherit, char *arg,
int type);
int btrfs_qgroup_query(int fd, u64 qgroupid, struct btrfs_qgroup_stats *stats);
#endif

View File

@ -32,7 +32,7 @@
#include "kerncompat.h"
#include "ioctl.h"
#include "qgroup.h"
#include "cmds/qgroup.h"
#include "kernel-shared/ctree.h"
#include "cmds/commands.h"

View File

@ -16,12 +16,12 @@
* Boston, MA 021110-1307, USA.
*/
#include "qgroup.h"
#include <sys/ioctl.h>
#include "kernel-shared/ctree.h"
#include "ioctl.h"
#include "common/utils.h"
#include "common/units.h"
#include "cmds/qgroup.h"
#include <errno.h>
#define BTRFS_QGROUP_NFILTERS_INCREASE (2 * BTRFS_QGROUP_FILTER_MAX)