]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/libzfs.h
Implement a new type of zfs receive: corrective receive (-c)
[mirror_zfs.git] / include / libzfs.h
index 52e59ac6500aadfeb324b4333e019da07014897c..4948cd0d34c8bb62afafc22eb5ed5000bc916fd9 100644 (file)
@@ -829,6 +829,9 @@ typedef struct recvflags {
 
        /* force unmount while recv snapshot (private) */
        boolean_t forceunmount;
+
+       /* use this recv to check (and heal if needed) an existing snapshot */
+       boolean_t heal;
 } recvflags_t;
 
 _LIBZFS_H int zfs_receive(libzfs_handle_t *, const char *, nvlist_t *,