search for: ffc5ac7

Displaying 1 result from an estimated 1 matches for "ffc5ac7".

2010 Jun 02
2
NFS exporting btrfs subvolumes.
...btrfs results from libblkid as the following patch does. However this is rather hackish, and wastes half of the bits in the uuid. Can anyone suggest a better way to get a good uuid for a btrfs filesystem? Thanks, NeilBrown diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index caef5b2..ffc5ac7 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -176,7 +176,8 @@ static const char *get_uuid_blkdev(char *path) blkid_tag_iterate iter; blkid_dev dev; const char *type; - const char *val = NULL; + const char *val; + const char *uuid_val = NULL; if (cache == NULL) blkid_...