|
@@ -662,7 +662,7 @@ ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh,
|
|
|
ea_idebug(inode, "creating block %d", block);
|
|
|
|
|
|
new_bh = sb_getblk(sb, block);
|
|
|
- if (!new_bh) {
|
|
|
+ if (unlikely(!new_bh)) {
|
|
|
ext2_free_blocks(inode, block, 1);
|
|
|
mark_inode_dirty(inode);
|
|
|
error = -EIO;
|