Thread (4 messages) 4 messages, 3 authors, 2021-07-21

Re: [PATCH] btrfs: Use NULL in btrfs_search_slot as trans if we only want to search

From: David Sterba <hidden>
Date: 2021-07-21 16:25:51

On Tue, Jul 20, 2021 at 03:02:47PM -0300, Marcos Paulo de Souza wrote:
Using a transaction in btrfs_search_slot is only useful when if are
searching to add or modify the tree. When the function is only used for
searching, insert length and mod arguments are 0, there is no need to
use a transaction.

No functional changes, changing for consistency.

Signed-off-by: Marcos Paulo de Souza <redacted>
Added to misc-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help