diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-03-07 10:29:18 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:50 +0200 |
commit | 7c829b722dffb22aaf9e3ea1b1d88dac49bd0768 (patch) | |
tree | 1dba1902eb1013a71c51ae2a4bb594b55729be4c /fs/btrfs/ctree.h | |
parent | btrfs: open code trivial helper btrfs_page_exists_in_range (diff) | |
download | linux-7c829b722dffb22aaf9e3ea1b1d88dac49bd0768.tar.xz linux-7c829b722dffb22aaf9e3ea1b1d88dac49bd0768.zip |
btrfs: add define for oldest generation
Some functions can filter metadata by the generation. Add a define that
will annotate such arguments.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index f4926dc9649f..15bf111cd5c5 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -66,6 +66,8 @@ struct btrfs_ordered_sum; #define BTRFS_MAX_LEVEL 8 +#define BTRFS_OLDEST_GENERATION 0ULL + #define BTRFS_COMPAT_EXTENT_TREE_V0 /* |