| .. | .. |
|---|
| 9 | 9 | #ifdef CONFIG_BTRFS_FS_REF_VERIFY |
|---|
| 10 | 10 | int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info); |
|---|
| 11 | 11 | void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info); |
|---|
| 12 | | -int btrfs_ref_tree_mod(struct btrfs_root *root, u64 bytenr, u64 num_bytes, |
|---|
| 13 | | - u64 parent, u64 ref_root, u64 owner, u64 offset, |
|---|
| 14 | | - int action); |
|---|
| 12 | +int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, |
|---|
| 13 | + struct btrfs_ref *generic_ref); |
|---|
| 15 | 14 | void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, u64 start, |
|---|
| 16 | 15 | u64 len); |
|---|
| 17 | 16 | |
|---|
| .. | .. |
|---|
| 30 | 29 | { |
|---|
| 31 | 30 | } |
|---|
| 32 | 31 | |
|---|
| 33 | | -static inline int btrfs_ref_tree_mod(struct btrfs_root *root, u64 bytenr, |
|---|
| 34 | | - u64 num_bytes, u64 parent, u64 ref_root, |
|---|
| 35 | | - u64 owner, u64 offset, int action) |
|---|
| 32 | +static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, |
|---|
| 33 | + struct btrfs_ref *generic_ref) |
|---|
| 36 | 34 | { |
|---|
| 37 | 35 | return 0; |
|---|
| 38 | 36 | } |
|---|