diff options
| author | Nikolay Borisov <[email protected]> | 2019-08-30 14:44:49 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-11-18 11:46:51 +0000 |
| commit | 725af92a62511aee68216438192041135bf14238 (patch) | |
| tree | 9a9d21bd4fa86149885b6b439f51d2040b6461af /fs/btrfs/dev-replace.c | |
| parent | btrfs: Properly handle backref_in_log retval (diff) | |
| download | kernel-725af92a62511aee68216438192041135bf14238.tar.gz kernel-725af92a62511aee68216438192041135bf14238.zip | |
btrfs: Open-code name_in_log_ref in replay_one_name
That function adds unnecessary indirection between backref_in_log and
the caller. Furthermore it also "downgrades" backref_in_log's return
value to a boolean, when in fact it could very well be an error.
Rectify the situation by simply opencoding name_in_log_ref in
replay_one_name and properly handling possible return codes from
backref_in_log.
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ update comment ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
