commit | 422138dd68202fbd8ca9fb0df65e92d733249374 | [log] [tgz] |
---|---|---|
author | Dmitry Bazhenov <atrey@emcraft.com> | Fri May 05 22:46:49 2006 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Fri May 05 22:46:49 2006 +0100 |
tree | 6991cf489ef3fa040309c2e715e02d61632fa7d4 | |
parent | edc4ff7c08e9885c40e60c4fb39fa42cc91a0602 [diff] |
[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: Dmitry Bazhenov <atrey@emcraft.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>