Marcos Paulo de Souza 6534c0c99d btrfs: pass NULL as trans to btrfs_search_slot if we only want to search
Using a transaction in btrfs_search_slot is only useful when we are
searching to add or modify the tree. When the function is used for
searching, insert length and mod arguments are 0, there is no need to
use a transaction.

No functional changes, changing for consistency.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-08-23 13:19:00 +02:00
..
2021-01-24 14:27:20 +01:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-02-09 02:46:07 +01:00
2019-11-18 23:43:44 +01:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2020-10-07 12:13:17 +02:00
2021-03-05 12:21:14 -08:00