summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-08-30 16:44:49 +0200
committerDavid Sterba <dsterba@suse.com>2019-11-18 12:46:51 +0100
commit725af92a62511aee68216438192041135bf14238 (patch)
tree9a9d21bd4fa86149885b6b439f51d2040b6461af /fs/btrfs/volumes.c
parentbtrfs: Properly handle backref_in_log retval (diff)
downloadlinux-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