mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-05 20:31:58 +00:00
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:
parent
9d98ad1db5
commit
6e0e0d467f
@ -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
|
@ -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"
|
||||
|
2
qgroup.c
2
qgroup.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user