]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/bdev.h
destroy: implement in the api
[mirror_lxc.git] / src / lxc / bdev.h
index d69efd8a722f375bdc71785199a115df5281e5c4..e4f1e6080510f090e326bf94baaa0db8a9f4d245 100644 (file)
@@ -16,6 +16,7 @@ struct bdev_ops {
        // mount requires src and dest to be set.
        int (*mount)(struct bdev *bdev);
        int (*umount)(struct bdev *bdev);
+       int (*destroy)(struct bdev *bdev);
        /* given original mount, rename the paths for cloned container */
        int (*clone_paths)(struct bdev *orig, struct bdev *new, const char *oldname,
                        const char *cname, const char *oldpath, const char *lxcpath,