summaryrefslogtreecommitdiff
path: root/btrfs_cmds.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-03-18 12:32:32 -0400
committerChris Mason <chris.mason@oracle.com>2010-03-18 12:32:32 -0400
commit8f55b769c703c3f7cc8c94d165ea2587d4384ae9 (patch)
treef0e76f0e5fd59a65692236ce66b8f8724d055802 /btrfs_cmds.h
parentfb3a539c9224b9923acccc684bc1f2719d651004 (diff)
Add btrfs subvol find-new command
btrfs-subvol find-new <subvol> <id> will search through a given subvol and print out all the files with extents newer than a given id. Care must be taken to make sure any pending delalloc is on disk before running this because that won't show up in the output.
Diffstat (limited to 'btrfs_cmds.h')
-rw-r--r--btrfs_cmds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/btrfs_cmds.h b/btrfs_cmds.h
index e8abd995..7bde1910 100644
--- a/btrfs_cmds.h
+++ b/btrfs_cmds.h
@@ -30,3 +30,5 @@ int do_subvol_list(int nargs, char **argv);
int do_set_default_subvol(int nargs, char **argv);
int list_subvols(int fd);
int do_df_filesystem(int nargs, char **argv);
+int find_updated_files(int fd, u64 root_id, u64 oldest_gen);
+int do_find_newer(int argc, char **argv);