Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 230b8c1a authored by Zhang Zhen's avatar Zhang Zhen Committed by Theodore Ts'o
Browse files

ext4: avoid unneeded lookup when xattr name is invalid



In ext4_xattr_set_handle() we have checked the xattr name's length. So
we should also check it in ext4_xattr_get() to avoid unneeded lookup
caused by invalid name.

Signed-off-by: default avatarZhang Zhen <zhenzhang.zhang@huawei.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 1c8349a1
Loading
Loading
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