diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-10 09:27:30 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-10 09:27:30 -0400 |
commit | 43f6ab83bf23a9833355b9970ddc600e445f2805 (patch) | |
tree | f3c41a277030912d24e4cbad31e44035af22865c /ioctl.h | |
parent | 86c2d787286b888a7f45ee522310f773b8466917 (diff) |
btrfsctl
Diffstat (limited to 'ioctl.h')
-rw-r--r-- | ioctl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ioctl.h b/ioctl.h new file mode 100644 index 00000000..201fb327 --- /dev/null +++ b/ioctl.h @@ -0,0 +1,13 @@ +#ifndef __IOCTL_ +#define __IOCTL_ +#include <linux/ioctl.h> + +#define BTRFS_IOCTL_MAGIC 0x94 +#define BTRFS_VOL_NAME_MAX 255 +struct btrfs_ioctl_vol_args { + char name[BTRFS_VOL_NAME_MAX + 1]; +}; + +#define BTRFS_IOC_SNAP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 1, \ + struct btrfs_ioctl_vol_args) +#endif |