projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12062dd
)
ext4: add missing error checking to ext4_expand_extra_isize_ea()
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 15 Feb 2010 19:26:16 +0000
(14:26 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 15 Feb 2010 19:26:16 +0000
(14:26 -0500)
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
fs/ext4/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/xattr.c
b/fs/ext4/xattr.c
index 627c98abbed9e04cb32613a5b950b8ccc19cc7d3..efc16a4b7cebdb7a4ebfa5c39f881816051ffa88 100644
(file)
--- a/
fs/ext4/xattr.c
+++ b/
fs/ext4/xattr.c
@@
-1300,6
+1300,8
@@
retry:
/* Remove the chosen entry from the inode */
error = ext4_xattr_ibody_set(handle, inode, &i, is);
+ if (error)
+ goto cleanup;
entry = IFIRST(header);
if (entry_size + EXT4_XATTR_SIZE(size) >= new_extra_isize)