diff options
author | Giuseppe Scrivano <gscrivano@gnu.org> | 2009-07-25 16:35:27 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-29 12:15:50 +0200 |
commit | 45330176690b079ed47ac7c58f29a1b028f97b07 (patch) | |
tree | 2f0f4637db6debaec9ed57e9b98584413893be4b /build-aux | |
parent | 095861179cad632893106670226a4658199a4f95 (diff) | |
download | coreutils-45330176690b079ed47ac7c58f29a1b028f97b07.tar.xz |
cp: support btrfs' copy-on-write file clone operation
* src/copy.c [HAVE_SYS_IOCTL_H]: Include <sys/ioctl.h>.
(BTRFS_IOCTL_MAGIC, BTRFS_IOC_CLONE): Define.
(clone_file): New function.
(copy_reg): Use the btrfs clone operation if possible.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions