mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 17:46:16 +02:00
uuid: drop dependency on uuid.h
The weird things distros do to the path where uuid.h gets installed have broken bees builds for the last time. We were only using uuid to support a legacy feature that was removed over four years ago. Hypothetical users who are upgrading directly from bees v0.1 should probably restart all the crawlers anyway--there were bugs. Also, if any such users exist, I respect their tremendous patience with the horrible performance all these years--bees got about 30x faster since v0.1. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
#include "crucible/limits.h"
|
||||
#include "crucible/ntoa.h"
|
||||
#include "crucible/string.h"
|
||||
#include "crucible/uuid.h"
|
||||
|
||||
// FS_IOC_FIEMAP
|
||||
#include <linux/fs.h>
|
||||
@ -1071,7 +1070,6 @@ namespace crucible {
|
||||
os << "BtrfsIoctlFsInfoArgs {"
|
||||
<< " max_id = " << a.max_id << ","
|
||||
<< " num_devices = " << a.num_devices << ","
|
||||
<< " fsid = " << a.uuid() << ","
|
||||
#if 0
|
||||
<< " nodesize = " << a.nodesize << ","
|
||||
<< " sectorsize = " << a.sectorsize << ","
|
||||
@ -1099,12 +1097,6 @@ namespace crucible {
|
||||
}
|
||||
}
|
||||
|
||||
string
|
||||
BtrfsIoctlFsInfoArgs::uuid() const
|
||||
{
|
||||
return uuid_unparse(fsid);
|
||||
}
|
||||
|
||||
uint16_t
|
||||
BtrfsIoctlFsInfoArgs::csum_type() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user