]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf896a90f422716c5dfd1a939d05950dc72c02a25
tree2b0276c39604ae012a07c7f103b1e672b158aa3c
parent616872789177c34b9648c7826c07ba08d1a96d7f
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