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

Skip to content
Commit 422138dd authored by Dmitry Bazhenov's avatar Dmitry Bazhenov Committed by David Woodhouse
Browse files

[JFFS2] Fix race in setting file attributes



It seems like there is a potential race in the function jffs2_do_setattr()
in the case when attributes of a symlink are updated. The symlink metadata
is read without having f->sem locked.

The following patch should fix the race.

Signed-off-by: default avatarDmitry Bazhenov <atrey@emcraft.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent edc4ff7c
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