|
@@ -899,7 +899,7 @@ ext4_find_extent(struct inode *inode, ext4_lblk_t block,
|
|
|
|
|
|
bh = read_extent_tree_block(inode, path[ppos].p_block, --i,
|
|
|
flags);
|
|
|
- if (unlikely(IS_ERR(bh))) {
|
|
|
+ if (IS_ERR(bh)) {
|
|
|
ret = PTR_ERR(bh);
|
|
|
goto err;
|
|
|
}
|
|
@@ -5792,7 +5792,7 @@ ext4_swap_extents(handle_t *handle, struct inode *inode1,
|
|
|
int split = 0;
|
|
|
|
|
|
path1 = ext4_find_extent(inode1, lblk1, NULL, EXT4_EX_NOCACHE);
|
|
|
- if (unlikely(IS_ERR(path1))) {
|
|
|
+ if (IS_ERR(path1)) {
|
|
|
*erp = PTR_ERR(path1);
|
|
|
path1 = NULL;
|
|
|
finish:
|
|
@@ -5800,7 +5800,7 @@ ext4_swap_extents(handle_t *handle, struct inode *inode1,
|
|
|
goto repeat;
|
|
|
}
|
|
|
path2 = ext4_find_extent(inode2, lblk2, NULL, EXT4_EX_NOCACHE);
|
|
|
- if (unlikely(IS_ERR(path2))) {
|
|
|
+ if (IS_ERR(path2)) {
|
|
|
*erp = PTR_ERR(path2);
|
|
|
path2 = NULL;
|
|
|
goto finish;
|