Cleanup backref_in_log and its callers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: Don't opencode btrfs_find_name_in_backref in backref_in_logfs/ | +12 | 1 reply | |
| 2/3 | btrfs: Properly handle backref_in_log retvalfs/ | +19 | 6 replies | |
| 3/3 | btrfs: Open-code name_in_log_ref in replay_one_namefs/ | +22 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | David Sterba |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Cleanup backref_in_log and its callers
This series cleans up backref_in_log and its callers. Patch 1 removes the opencoding of btrfs_find_name_in_backref which greatly simplifies backref_in_log itself.
Patch 2 properly propagates error values of the internal functions to backref_in_log's callers and also fixes, where necessary, callers to cope with those ret values.
Patch 3 continues in the spirit of the previous patch, in that it open codes name_in_log_ref so that the caller can properly handle backref_in_log retvals.
Nikolay Borisov (3):
btrfs: Don't opencode btrfs_find_name_in_backref in backref_in_log
btrfs: Properly handle backref_in_log retval
btrfs: Open-code name_in_log_ref in replay_one_name
fs/btrfs/tree-log.c | 113 +++++++++++++++++--------------------------- 1 file changed, 44 insertions(+), 69 deletions(-)
Signature · 1 line
2.17.1