diff options
author | Dmitry Bazhenov <atrey@emcraft.com> | 2006-05-05 23:46:49 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-05 23:46:49 +0200 |
commit | 422138dd68202fbd8ca9fb0df65e92d733249374 (patch) | |
tree | 6991cf489ef3fa040309c2e715e02d61632fa7d4 /drivers/mtd | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torval... (diff) | |
download | linux-422138dd68202fbd8ca9fb0df65e92d733249374.tar.xz linux-422138dd68202fbd8ca9fb0df65e92d733249374.zip |
[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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions