diff options
| author | Anand Jain <anand.jain@oracle.com> | 2024-05-10 15:17:23 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:21 +0200 |
| commit | bd0d9a619a870f8c6745d2b4f57508bc5106e282 (patch) | |
| tree | beb4c1e57d4b79f9f69322b84c89299f53be9276 | |
| parent | ba69f42af2a568f30904a11dc257eb892c5e8c0e (diff) | |
| download | linux-bd0d9a619a870f8c6745d2b4f57508bc5106e282.tar.gz linux-bd0d9a619a870f8c6745d2b4f57508bc5106e282.tar.bz2 linux-bd0d9a619a870f8c6745d2b4f57508bc5106e282.zip | |
btrfs: rename ret to ret2 in btrfs_recover_relocation()
A preparatory patch to rename 'err' to 'ret', but ret is already used as an
intermediary return value, so first rename 'ret' to 'ret2'.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
| -rw-r--r-- | fs/btrfs/relocation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index e0cb67a62d89..db99d0f9f999 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -4220,7 +4220,7 @@ int btrfs_recover_relocation(struct btrfs_fs_info *fs_info) struct extent_buffer *leaf; struct reloc_control *rc = NULL; struct btrfs_trans_handle *trans; - int ret; + int ret2; int err = 0; path = btrfs_alloc_path(); @@ -4355,9 +4355,9 @@ int btrfs_recover_relocation(struct btrfs_fs_info *fs_info) } err = btrfs_commit_transaction(trans); out_clean: - ret = clean_dirty_subvols(rc); - if (ret < 0 && !err) - err = ret; + ret2 = clean_dirty_subvols(rc); + if (ret2 < 0 && !err) + err = ret2; out_unset: unset_reloc_control(rc); out_end: |
