On Mon, Dec 22, 2014 at 07:37:59PM +0900, Satoru Takeuchi wrote: > --- a/send-utils.h > +++ b/send-utils.h > @@ -37,10 +37,10 @@ extern "C" { > #define BTRFS_COMPAT_SEND_NO_UUID_TREE 1 > > enum subvol_search_type { > - subvol_search_by_root_id, > - subvol_search_by_uuid, > - subvol_search_by_received_uuid, > - subvol_search_by_path, > + SUBVOL_SEARCH_BY_ROOT_ID, > + SUBVOL_SEARCH_BY_UUID, > + SUBVOL_SEARCH_BY_RECEIVED_UUID, > + SUBVOL_SEARCH_BY_PATH,
send-utils.h is part of public API, so this would have to be changed in a backward compatible way, but the current library API is underdesigned so I don't think this patch will help. Getting the library right is on the todo list but it will take some time and some reorganization of sources will have to take place before that. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html