From: Eric Van Hensbergen Date: Fri, 26 Jan 2007 08:57:06 +0000 (-0800) Subject: [PATCH] 9p: fix segfault caused by race condition in meta-data operations X-Git-Tag: v2.6.20-rc7~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da977b2c7eb4d6312f063a7b486f2aad99809710;p=pandora-kernel.git [PATCH] 9p: fix segfault caused by race condition in meta-data operations Running dbench multithreaded exposed a race condition where fid structures were removed while in use. This patch adds semaphores to meta-data operations to protect the fid structure. Some cleanup of error-case handling in the inode operations is also included. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed