diff options
| author | Anand Jain <anand.jain@oracle.com> | 2024-03-19 20:25:09 +0530 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:21 +0200 |
| commit | 53d6c0da0a6bb9f945e5b4bc88701e51e172a087 (patch) | |
| tree | 814132de5e60d75bceb0464d313ac905d92f104d /tools/perf/scripts/python | |
| parent | btrfs: cleanup duplicated parameters related to btrfs_create_dio_extent() (diff) | |
| download | linux-53d6c0da0a6bb9f945e5b4bc88701e51e172a087.tar.gz linux-53d6c0da0a6bb9f945e5b4bc88701e51e172a087.zip | |
btrfs: rename err to ret in btrfs_cleanup_fs_roots()
Since err represents the function return value, rename it as ret,
and rename the original ret, which serves as a helper return value,
to found. Also, optimize the code to continue call btrfs_put_root()
for the rest of the root if even after btrfs_orphan_cleanup() returns
error.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
