uuid: hoist helpers uuid_equal() and uuid_copy() from xfs
authorChristoph Hellwig <hch@lst.de>
Thu, 11 May 2017 12:00:57 +0000 (14:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2017 14:59:04 +0000 (16:59 +0200)
commitdf33767d9fe0ca93c606cc9042df05e5045c8158
tree3f49d1e61e0ac89d1158bb0229b2bd7b4b996093
parentb10bf0e281040f152da93fede1d43ec57caa7cee
uuid: hoist helpers uuid_equal() and uuid_copy() from xfs

These helper are used to compare and copy two uuid_t type objects.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
[hch: also provide the respective guid_ versions]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
fs/xfs/uuid.c
fs/xfs/uuid.h
include/linux/uuid.h
lib/test_uuid.c