summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-10 17:05:55 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-10 17:05:55 +0300
commit190f38e5cedc910940b1da9015f00458c18f97b4 (patch)
tree3b13c1cd5c536b6187b3196610b97e70a0ba0372 /net
parent053e324f67b9921fe7de0c4cbc720d29cb4bf207 (diff)
downloadlinux-190f38e5cedc910940b1da9015f00458c18f97b4.tar.xz
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 <fengguang.wu@intel.com> Tested-by: Andi Kleen <andi@firstfloor.org> Cc: stable@kernel.org Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions