Commit d8e5214
btrfs: reduce arguments to btrfs_del_inode_ref_in_log()
Instead of passing a root and the objectid of the parent directory, just
pass the directory inode, as like that we can extract both the root and
the objectid, reducing the number of arguments by one. It also makes the
function more consistent with other log tree functions in the sense that
we pass the inode and not only its objectid.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 15fe48e commit d8e5214
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4362 | 4362 | | |
4363 | 4363 | | |
4364 | 4364 | | |
4365 | | - | |
| 4365 | + | |
4366 | 4366 | | |
4367 | 4367 | | |
4368 | 4368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3938 | 3938 | | |
3939 | 3939 | | |
3940 | 3940 | | |
3941 | | - | |
3942 | 3941 | | |
3943 | | - | |
| 3942 | + | |
| 3943 | + | |
3944 | 3944 | | |
3945 | | - | |
| 3945 | + | |
3946 | 3946 | | |
3947 | 3947 | | |
3948 | 3948 | | |
| |||
3957 | 3957 | | |
3958 | 3958 | | |
3959 | 3959 | | |
3960 | | - | |
3961 | 3960 | | |
3962 | 3961 | | |
3963 | | - | |
| 3962 | + | |
| 3963 | + | |
3964 | 3964 | | |
3965 | 3965 | | |
3966 | 3966 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments