mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
60927bc314
commit
f9727a17db
6 changed files with 73 additions and 62 deletions
|
@ -39,8 +39,6 @@ typedef __s64 xfs_daddr_t; /* <disk address> type */
|
|||
typedef __u32 xfs_dev_t;
|
||||
typedef __u32 xfs_nlink_t;
|
||||
|
||||
typedef uuid_be uuid_t;
|
||||
|
||||
#include "xfs_types.h"
|
||||
|
||||
#include "kmem.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue