Displaying 2 results from an estimated 2 matches for "item_end".
Did you mean:
atom_end
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...rfs_alloc_leaf_ref(root, 0);
@@ -3321,7 +3321,7 @@ search_again:
btrfs_file_extent_calc_inline_size(size);
ret = btrfs_truncate_item(trans, root, path,
size, 1);
- BUG_ON(ret);
+ btrfs_fixable_bug_on(ret);
} else if (root->ref_cows) {
inode_sub_bytes(inode, item_end + 1 -
found_key.offset);
@@ -3350,7 +3350,7 @@ delete:
extent_num_bytes, 0,
btrfs_header_owner(leaf),
inode->i_ino, extent_offset);
- BUG_ON(ret);
+ btrfs_fixable_bug_on(ret);
}
if (found_type == BTRFS_INODE_ITEM_KEY)
@@ -3366,7 +3366,7 @@ delete:
ret...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all -
Here''s my current error handling patchset, against 3.1-rc8. Almost all of
this patchset is preparing for actual error handling. Before we start in
on that work, I''m trying to reduce the surface we need to worry about. It
turns out that there is a ton of code that returns an error code but never
actually reports an error.
The patchset has grown to 65 patches. 46 of them