diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-10 09:27:04 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-10 09:27:04 -0400 |
commit | c5739bba5260a59cebd20a51a55080592c8d3b07 (patch) | |
tree | ff33f7acddcfc60e7395209ff949bb9d90afda32 /fs/btrfs/ioctl.h | |
parent | 0f7d52f4431c530b4f39c524448c688bb7754de5 (diff) |
Btrfs: snapshot progress
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.h')
-rw-r--r-- | fs/btrfs/ioctl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/btrfs/ioctl.h b/fs/btrfs/ioctl.h new file mode 100644 index 000000000000..201fb3270723 --- /dev/null +++ b/fs/btrfs/ioctl.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef __IOCTL_ | ||
2 | #define __IOCTL_ | ||
3 | #include <linux/ioctl.h> | ||
4 | |||
5 | #define BTRFS_IOCTL_MAGIC 0x94 | ||
6 | #define BTRFS_VOL_NAME_MAX 255 | ||
7 | struct btrfs_ioctl_vol_args { | ||
8 | char name[BTRFS_VOL_NAME_MAX + 1]; | ||
9 | }; | ||
10 | |||
11 | #define BTRFS_IOC_SNAP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 1, \ | ||
12 | struct btrfs_ioctl_vol_args) | ||
13 | #endif | ||