From ed5f267e7853a2a42d1ed8a3e8eb6c72cf525357 Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Tue, 15 Jan 2013 21:19:06 -0800 Subject: [PATCH] --- yaml --- r: 359017 b: refs/heads/master c: ab6a773dbcbd2bba3ead8676ae21ce5adbbdc035 h: refs/heads/master i: 359015: b393f6a1b609cb5d948cf6ff70ba3b2a67009db4 v: v3 --- [refs] | 2 +- trunk/fs/ext2/xattr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e728e2bf0a63..ec1f5c292c6b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1b7d76e9b1106f2be062f915b05d47658dd4fc63 +refs/heads/master: ab6a773dbcbd2bba3ead8676ae21ce5adbbdc035 diff --git a/trunk/fs/ext2/xattr.c b/trunk/fs/ext2/xattr.c index 06209ec46152..2d7557db3ae8 100644 --- a/trunk/fs/ext2/xattr.c +++ b/trunk/fs/ext2/xattr.c @@ -665,7 +665,7 @@ ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh, if (unlikely(!new_bh)) { ext2_free_blocks(inode, block, 1); mark_inode_dirty(inode); - error = -EIO; + error = -ENOMEM; goto cleanup; } lock_buffer(new_bh);