summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-05-16 18:36:03 +0200
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-05-30 15:17:34 +0200
commit8445f61cad927b6efffdd4e042a51a783ff8853f (patch)
tree4f3b0c3172376fe73c3a296f47e0f38388015944 /fs/btrfs/backref.h
parent5d9e75c41d11ca79b1d1ff6ed17c88c9047d1fea (diff)
downloadlinux-8445f61cad927b6efffdd4e042a51a783ff8853f.tar.gz
linux-8445f61cad927b6efffdd4e042a51a783ff8853f.tar.bz2
linux-8445f61cad927b6efffdd4e042a51a783ff8853f.zip
Btrfs: use the tree modification log for backref resolving
This enables backref resolving on life trees while they are changing. This is a prerequisite for quota groups and just nice to have for everything else. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r--fs/btrfs/backref.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h
index 94ba1b2e733b..c18d8ac7b795 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -58,7 +58,8 @@ int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
int btrfs_find_all_roots(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info, u64 bytenr,
- u64 seq, struct ulist **roots);
+ u64 delayed_ref_seq, u64 time_seq,
+ struct ulist **roots);
struct btrfs_data_container *init_data_container(u32 total_bytes);
struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,