From: Trond Myklebust Date: Wed, 26 May 2010 12:42:24 +0000 (-0400) Subject: NFS: Fix another nfs_wb_page() deadlock X-Git-Tag: v2.6.35-rc1~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0522f6adedd2736cbca3c0e16ca51df668993eee;p=pandora-kernel.git NFS: Fix another nfs_wb_page() deadlock J.R. Okajima reports that the call to sync_inode() in nfs_wb_page() can deadlock with other writeback flush calls. It boils down to the fact that we cannot ever call writeback_single_inode() while holding a page lock (even if we do set nr_to_write to zero) since another process may already be waiting in the call to do_writepages(), and so will deny us the I_SYNC lock. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed