summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2008-05-02 14:43:14 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:02 -0400
commitf2eb0a241f0e5c135d93243b0236cb1f14c305e0 (patch)
treedd3141efb9142a294222b9195593371887519207 /fs/btrfs/ioctl.h
parentd6bfde8765668c8687de72f7a40f52acdf4f2f19 (diff)
downloadop-kernel-dev-f2eb0a241f0e5c135d93243b0236cb1f14c305e0.zip
op-kernel-dev-f2eb0a241f0e5c135d93243b0236cb1f14c305e0.tar.gz
Btrfs: Clone file data ioctl
Add a new ioctl to clone file data Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.h')
-rw-r--r--fs/btrfs/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ioctl.h b/fs/btrfs/ioctl.h
index 8ad35fc..b0e73f5 100644
--- a/fs/btrfs/ioctl.h
+++ b/fs/btrfs/ioctl.h
@@ -36,6 +36,7 @@ struct btrfs_ioctl_vol_args {
struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_SCAN_DEV _IOW(BTRFS_IOCTL_MAGIC, 4, \
struct btrfs_ioctl_vol_args)
+#define BTRFS_IOC_CLONE _IOW(BTRFS_IOCTL_MAGIC, 9, int)
#define BTRFS_IOC_ADD_DEV _IOW(BTRFS_IOCTL_MAGIC, 10, \
struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_RM_DEV _IOW(BTRFS_IOCTL_MAGIC, 11, \
OpenPOWER on IntegriCloud