mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
Btrfs: do not unnecessarily pass write_lock_level when processing leaf
As we're going to return right after the call, it's not necessary to get update the new write_lock_level from unlock_up. Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4fd786e6c3
commit
4b6f8e9695
1 changed files with 1 additions and 1 deletions
|
@ -2910,7 +2910,7 @@ cow_done:
|
|||
}
|
||||
if (!p->search_for_split)
|
||||
unlock_up(p, level, lowest_unlock,
|
||||
min_write_lock_level, &write_lock_level);
|
||||
min_write_lock_level, NULL);
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue