uuid: rename uuid types
authorChristoph Hellwig <hch@lst.de>
Wed, 17 May 2017 08:02:48 +0000 (10:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2017 14:58:59 +0000 (16:58 +0200)
commitf9727a17db9bab71ddae91f74f11a8a2f9a0ece6
tree3d009fcaddd7ce14d1ddd2b6cefcaa33f5615b81
parent60927bc314363f91616c1f4577541c2a2e27aba3
uuid: rename uuid types

Our "little endian" UUID really is a Wintel GUID, so rename it and its
helpers such (guid_t).  The big endian UUID is the only true one, so
give it the name uuid_t.  The uuid_le and uuid_be names are retained for
now, but will hopefully go away soon.  The exception to that are the _cmp
helpers that will be replaced by better primitives ASAP and thus don't
get the new names.

Also the _to_bin helpers are named to match the better named uuid_parse
routine in userspace.

Also remove the existing typedef in XFS that's now been superceeded by
the generic type name.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[andy: also update the UUID_LE/UUID_BE macros including fallout]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_linux.h
include/linux/uuid.h
include/uapi/linux/uuid.h
lib/test_uuid.c
lib/uuid.c
lib/vsprintf.c