diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-05-23 00:14:07 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-05-23 00:14:07 +0300 |
commit | eb9b5f01c33adebc31cbc236c02695f605b0e417 (patch) | |
tree | 22cc5a91463b52193fdf1c6dc0465a33c767fd78 /fs/ext4/xattr.c | |
parent | 117166efb1ee8f13c38f9e96b258f16d4923f888 (diff) | |
download | linux-eb9b5f01c33adebc31cbc236c02695f605b0e417.tar.xz |
ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
If ext4_find_inline_data_nolock() returns an error it needs to get
reflected up to ext4_iget(). In order to fix this,
ext4_iget_extra_inode() needs to return an error (and not return
void).
This is related to "ext4: do not allow external inodes for inline
data" (which fixes CVE-2018-11412) in that in the errors=continue
case, it would be useful to for userspace to receive an error
indicating that file system is corrupted.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/xattr.c')
0 files changed, 0 insertions, 0 deletions