projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ext3: return ENOMEM rather than EIO if sb_getblk fails
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ext3
/
xattr.c
diff --git
a/fs/ext3/xattr.c
b/fs/ext3/xattr.c
index 9f57470b1727868bfb8d22da1e0df11a1a98aeb3..b1fc96383e087157879e853b2affbf0cb87982ec 100644
(file)
--- a/
fs/ext3/xattr.c
+++ b/
fs/ext3/xattr.c
@@
-816,7
+816,7
@@
inserted:
if (unlikely(!new_bh)) {
getblk_failed:
ext3_free_blocks(handle, inode, block, 1);
- error = -E
IO
;
+ error = -E
NOMEM
;
goto cleanup;
}
lock_buffer(new_bh);