From: Dmitry Bazhenov Date: Fri, 5 May 2006 21:46:49 +0000 (+0100) Subject: [JFFS2] Fix race in setting file attributes X-Git-Tag: v2.6.18-rc1~1105^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422138dd68202fbd8ca9fb0df65e92d733249374;p=pandora-kernel.git [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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed