commit | 77fe20dc6291e10c3594124b4505161e701a3cc4 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@suse.de> | Tue Aug 06 11:42:48 2013 -0700 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:04:57 2013 -0400 |
tree | 6edc6e3638d09d7d8dd462528f26f6e78f030610 | |
parent | a4fdb61e81e73991d919ff0396d256e9e67d2475 [diff] |
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 <mfasheh@suse.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>