Btrfs: Make async snapshot ioctl more generic
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 10 Dec 2010 06:41:56 +0000 (06:41 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 10 Dec 2010 21:29:11 +0000 (16:29 -0500)
If we had reserved some bytes in struct btrfs_ioctl_vol_args, we
wouldn't have to create a new structure for async snapshot creation.

Here we convert async snapshot ioctl to use a more generic ABI, as
we'll add more ioctls for snapshots/subvolumes in the future, readonly
snapshots for example.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found