Btrfs: snapshot progress

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-04-10 09:27:04 -04:00
committed by David Woodhouse
parent 0f7d52f443
commit c5739bba52
7 changed files with 183 additions and 12 deletions

13
fs/btrfs/ioctl.h Normal file
View File

@@ -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