]> 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)
commitb82051460dbe328eb7ff549e6e5e380f492265ba
tree2b0276c39604ae012a07c7f103b1e672b158aa3c
parentaf84d2cf52f6a4490f76d1c0711c3eba8e4476de
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