aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2013-10-16 19:10:33 +0000
committerChris Mason <[email protected]>2013-11-12 03:03:09 +0000
commit1877e1a747db33d7264d8046e96373962da72a3d (patch)
treeb928d5a17bacd6644631d200e3a82232202b2aec /fs/btrfs/dev-replace.c
parentbtrfs: use get_seconds() instead of btrfs wrapper (diff)
downloadkernel-1877e1a747db33d7264d8046e96373962da72a3d.tar.gz
kernel-1877e1a747db33d7264d8046e96373962da72a3d.zip
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 <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions