summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-10 09:05:55 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-18 14:04:09 -0800
commite4f676cea796e170fcd8561c8e2a234724d05f35 (patch)
treed8e9eb42cf89b6cbedcf1ed9997e233a63d10f17 /drivers/md
parentb9058d460800ee672e90d09f7419117baa64f045 (diff)
NFS: Fix nfs_migrate_page()
commit 190f38e5cedc910940b1da9015f00458c18f97b4 upstream. 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> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions