vfs: add snapshot create/delete calls to vfs_btrfs
authorDavid Disseldorp <ddiss@samba.org>
Tue, 4 Sep 2012 13:29:58 +0000 (15:29 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 19 Sep 2012 03:59:04 +0000 (05:59 +0200)
commitb805c9c1393f00baa66c281817b9ec0451be9fc0
treef76f882ba0e6fbe2c4dd9ccd16e87808754110e2
parent41a66732863e00523813f078e281e3521ea898ab
vfs: add snapshot create/delete calls to vfs_btrfs

Issue BTRFS_IOC_SNAP_CREATE_V2 and BTRFS_IOC_SNAP_DESTROY ioctls
accordingly. Base share paths must exist as btrfs subvolumes in order to
be supported for snapshot operations.

The ioctl definitions are taken from the GPLv2 licensed btrfs_ioctl.h.
Such interface definitions do not equate to copyrightable information;
therefore, they may remain part of the GPLv3 licensed Samba source.
source3/configure.in
source3/modules/vfs_btrfs.c
source3/wscript