From: Zach Brown Date: Wed, 16 Oct 2013 19:10:33 +0000 (-0700) Subject: btrfs: remove move_pages() X-Git-Tag: v3.13-rc1~85^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1877e1a747db33d7264d8046e96373962da72a3d;p=pandora-kernel.git btrfs: remove move_pages() move_pages() has an inefficient backwards byte copy of regions of two different pages. They're different pages so the regions won't overlap and it could use memcpy(). At that point, though, move_pages() would be a slightly dimmer re-implementation of copy_pages() that lacked the test for overlapping page regions. So remove move_pages() and just call copy_pages(). Signed-off-by: Zach Brown Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed