From: Trond Myklebust Date: Thu, 10 Dec 2009 14:05:55 +0000 (-0500) Subject: NFS: Fix nfs_migrate_page() X-Git-Tag: v2.6.33-rc1~287^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190f38e5cedc910940b1da9015f00458c18f97b4;p=pandora-kernel.git NFS: Fix nfs_migrate_page() The call to migrate_page() will cause the page->private field to be cleared. Also fix up the locking around the page->private transfer, so that we ensure that calls to nfs_page_find_request() don't end up racing. Finally, fix up a double free bug: nfs_unlock_request() already calls nfs_release_request() for us... Reported-by: Wu Fengguang Tested-by: Andi Kleen Cc: stable@kernel.org Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed