|
@@ -745,11 +745,11 @@ static int ext2_get_blocks(struct inode *inode,
|
|
|
mutex_unlock(&ei->truncate_mutex);
|
|
|
goto cleanup;
|
|
|
}
|
|
|
- }
|
|
|
+ } else
|
|
|
+ set_buffer_new(bh_result);
|
|
|
|
|
|
ext2_splice_branch(inode, iblock, partial, indirect_blks, count);
|
|
|
mutex_unlock(&ei->truncate_mutex);
|
|
|
- set_buffer_new(bh_result);
|
|
|
got_it:
|
|
|
map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key));
|
|
|
if (count > blocks_to_boundary)
|