Skip to content
Snippets Groups Projects
Commit d3daaa33 authored by Thadeu Lima de Souza Cascardo's avatar Thadeu Lima de Souza Cascardo Committed by Frieder Schrempf
Browse files

ext4: return error on ext4_find_inline_entry


[ Upstream commit 4d231b91 ]

In case of errors when reading an inode from disk or traversing inline
directory entries, return an error-encoded ERR_PTR instead of returning
NULL. ext4_find_inline_entry only caller, __ext4_find_entry already returns
such encoded errors.

Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@igalia.com>
Link: https://patch.msgid.link/20240821152324.3621860-3-cascardo@igalia.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Stable-dep-of: c6b72f5d ("ext4: avoid OOB when system.data xattr changes underneath the filesystem")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cea8e2a4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment