btrfs_ioctl_clone: Move clone code into it's own function
authorMark Fasheh <mfasheh@suse.de>
Tue, 6 Aug 2013 18:42:49 +0000 (11:42 -0700)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:04:58 +0000 (08:04 -0400)
commit32b7c687c52a0b78a7d41ce6423c2fd8f5ca92da
tree2b0276c39604ae012a07c7f103b1e672b158aa3c
parent77fe20dc6291e10c3594124b4505161e701a3cc4
btrfs_ioctl_clone: Move clone code into it's own function

There's some 250+ lines here that are easily encapsulated into their own
function. I don't change how anything works here, just create and document
the new btrfs_clone() function from btrfs_ioctl_clone() code.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c