From: Trond Myklebust Date: Tue, 23 Dec 2008 20:21:44 +0000 (-0500) Subject: NFSv4: Ensure that file unlock requests don't conflict with state recovery X-Git-Tag: v2.6.29-rc1~553^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e03c570e6099ffaf24e5628d4fe1a8acbe820d;p=pandora-kernel.git NFSv4: Ensure that file unlock requests don't conflict with state recovery The unlock path is currently failing to take the nfs_client->cl_sem read lock, and hence the recovery path may see locks disappear from underneath it. Also ensure that it takes the nfs_inode->rwsem read lock so that it there is no conflict with delegation recalls. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed