mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2025-01-26 21:53:20 +08:00
Btrfs-progs: move the function declarations to a new head file
Move the function declarations to a new head file. Signed-off-by: Zhou Bo <zhoub-fnst@cn.fujitsu.com>
This commit is contained in:
parent
f4dfc8f6ed
commit
c5800fb016
@ -35,6 +35,7 @@
|
||||
#include "transaction.h"
|
||||
#include "utils.h"
|
||||
#include <uuid/uuid.h>
|
||||
#include "btrfs-list.h"
|
||||
|
||||
/* we store all the roots we find in an rbtree so that we can
|
||||
* search for them later.
|
||||
|
21
btrfs-list.h
Normal file
21
btrfs-list.h
Normal file
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2012 Fujitsu. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public
|
||||
* License v2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 021110-1307, USA.
|
||||
*/
|
||||
|
||||
int list_subvols(int fd, int print_parent, int get_default, int print_uuid);
|
||||
int find_updated_files(int fd, u64 root_id, u64 oldest_gen);
|
||||
char *path_for_root(int fd, u64 root);
|
@ -24,9 +24,7 @@
|
||||
#include "ioctl.h"
|
||||
|
||||
#include "commands.h"
|
||||
|
||||
/* btrfs-list.c */
|
||||
char *path_for_root(int fd, u64 root);
|
||||
#include "btrfs-list.h"
|
||||
|
||||
static const char * const inspect_cmd_group_usage[] = {
|
||||
"btrfs inspect-internal <command> <args>",
|
||||
|
@ -29,10 +29,7 @@
|
||||
#include "qgroup.h"
|
||||
|
||||
#include "commands.h"
|
||||
|
||||
/* btrfs-list.c */
|
||||
int list_subvols(int fd, int print_parent, int print_uuid, int get_default);
|
||||
int find_updated_files(int fd, u64 root_id, u64 oldest_gen);
|
||||
#include "btrfs-list.h"
|
||||
|
||||
static const char * const subvolume_cmd_group_usage[] = {
|
||||
"btrfs subvolume <command> <args>",
|
||||
|
@ -21,9 +21,7 @@
|
||||
#include "ctree.h"
|
||||
#include "send-utils.h"
|
||||
#include "ioctl.h"
|
||||
|
||||
/* btrfs-list.c */
|
||||
char *path_for_root(int fd, u64 root);
|
||||
#include "btrfs-list.h"
|
||||
|
||||
static struct rb_node *tree_insert(struct rb_root *root,
|
||||
struct subvol_info *si,
|
||||
|
Loading…
Reference in New Issue
Block a user