From: Trond Myklebust Date: Fri, 9 Jun 2006 13:40:27 +0000 (-0400) Subject: NLM: Fix reclaim races X-Git-Tag: v2.6.18-rc1~861^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28df955a2ad484d602314b30183ea8496a9aa34a;p=pandora-kernel.git NLM: Fix reclaim races Currently it is possible for a task to remove its locks at the same time as the NLM recovery thread is trying to recover them. This quickly leads to an Oops. Protect the locks using an rw semaphore while they are being recovered. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed