diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-08-30 16:44:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:51 +0100 |
commit | 725af92a62511aee68216438192041135bf14238 (patch) | |
tree | 9a9d21bd4fa86149885b6b439f51d2040b6461af /fs/btrfs/volumes.c | |
parent | btrfs: Properly handle backref_in_log retval (diff) | |
download | linux-725af92a62511aee68216438192041135bf14238.tar.xz linux-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 <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions