From: Mark Fasheh Date: Tue, 6 Aug 2013 18:42:48 +0000 (-0700) Subject: btrfs: abtract out range locking in clone ioctl() X-Git-Tag: v3.12-rc1~40^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77fe20dc6291e10c3594124b4505161e701a3cc4;p=pandora-kernel.git btrfs: abtract out range locking in clone ioctl() The range locking in btrfs_ioctl_clone is trivially broken out into it's own function. This reduces the complexity of btrfs_ioctl_clone() by a small bit and makes that locking code available to future functions in fs/btrfs/ioctl.c Signed-off-by: Mark Fasheh Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed