aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext2/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index 06209ec46152..2d7557db3ae8 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -665,7 +665,7 @@ ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh,
665 if (unlikely(!new_bh)) { 665 if (unlikely(!new_bh)) {
666 ext2_free_blocks(inode, block, 1); 666 ext2_free_blocks(inode, block, 1);
667 mark_inode_dirty(inode); 667 mark_inode_dirty(inode);
668 error = -EIO; 668 error = -ENOMEM;
669 goto cleanup; 669 goto cleanup;
670 } 670 }
671 lock_buffer(new_bh); 671 lock_buffer(new_bh);