mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-02-04 08:15:50 +00:00
ext4: add missing error checking to ext4_expand_extra_isize_ea()
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
This commit is contained in:
@@ -1297,6 +1297,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)
|
||||
|
||||
Reference in New Issue
Block a user