aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/xattr.c')
-rw-r--r--fs/ext4/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
index 07d684a4e523..c68990c392c7 100644
--- a/fs/ext4/xattr.c
+++ b/fs/ext4/xattr.c
@@ -886,7 +886,7 @@ inserted:
886 (unsigned long long)block); 886 (unsigned long long)block);
887 887
888 new_bh = sb_getblk(sb, block); 888 new_bh = sb_getblk(sb, block);
889 if (!new_bh) { 889 if (unlikely(!new_bh)) {
890 error = -ENOMEM; 890 error = -ENOMEM;
891getblk_failed: 891getblk_failed:
892 ext4_free_blocks(handle, inode, NULL, block, 1, 892 ext4_free_blocks(handle, inode, NULL, block, 1,