btrfs: rename err to ret2 in btrfs_search_old_slot()
authorDavid Sterba <dsterba@suse.com>
Fri, 30 May 2025 16:17:26 +0000 (18:17 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:53:27 +0000 (23:53 +0200)
commitdf20be9f02f0a60817531c660bcde7c7bc0883e9
treeba2816ccc504ffd7870d19462f4ec0f4ea6626e0
parent644dcb4316c0dc0031186df68aa9be60e8dad7f8
btrfs: rename err to ret2 in btrfs_search_old_slot()

Unify naming of return value to the preferred way, move the variable to
the closest scope.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c