mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Btrfs: return code checking
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
af86d07efe
commit
aa5d6bed25
4 changed files with 268 additions and 227 deletions
|
@ -125,6 +125,11 @@ check_failed:
|
|||
ins->flags = 0;
|
||||
start_found = 0;
|
||||
ret = search_slot(root, ins, &path, 0);
|
||||
if (ret < 0) {
|
||||
release_path(root, &path);
|
||||
return ret;
|
||||
}
|
||||
|
||||
while (1) {
|
||||
l = &path.nodes[0]->leaf;
|
||||
slot = path.slots[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue