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

Commit c30d39a0 authored by Richard Weinberger's avatar Richard Weinberger Committed by Sasha Levin
Browse files

ubifs: Fix xattr_names length in exit paths



[ Upstream commit 843741c5778398ea67055067f4cc65ae6c80ca0e ]

When the operation fails we also have to undo the changes
we made to ->xattr_names. Otherwise listxattr() will report
wrong lengths.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 1ef14328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment