From: adilger Date: Sat, 7 Sep 2002 07:58:52 +0000 (+0000) Subject: Add a new type, obd_uuid_t (char[37]) to replace uuid_t, which means X-Git-Tag: v1_7_100~4841 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=6f3a7411c93b3c7fb020d928fb314ed3fec4997b Add a new type, obd_uuid_t (char[37]) to replace uuid_t, which means something different for the rest of the kernel and user-space too. This should be used in all places where we specify char[37] directly. I have the full change for this already implemented, but I'm going slowly to avoid causing too many conflicts for Mike. --- diff --git a/lustre/include/linux/lustre_idl.h b/lustre/include/linux/lustre_idl.h index f975ff10..38b1281 100644 --- a/lustre/include/linux/lustre_idl.h +++ b/lustre/include/linux/lustre_idl.h @@ -47,7 +47,8 @@ /* * GENERAL STUFF */ -typedef __u8 uuid_t[37]; +typedef __u8 uuid_t[37]; /* deprecated */ +typedef __u8 obd_uuid_t[37]; /* FOO_REQUEST_PORTAL is for incoming requests on the FOO * FOO_REPLY_PORTAL is for incoming replies on the FOO @@ -265,7 +266,7 @@ struct connmgr_body { __u64 conn; __u64 conn_token; __u32 generation; - __u8 conn_uuid[37]; + obd_uuid_t conn_uuid; }; /* request structure for OST's */ @@ -415,7 +416,7 @@ struct lov_desc { __u64 ld_default_stripe_size; /* in bytes */ __u64 ld_default_stripe_offset; /* in bytes */ __u32 ld_pattern; /* RAID 0,1 etc */ - uuid_t ld_uuid; + uuid_t ld_uuid; }; /*