From c2045286cacc153cc15fc1e2d6c18d89ae12520a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 29 Oct 2010 12:06:44 -0700 Subject: [PATCH] osd: fix decoding of legacy (v2) coll_t It was u8, not int. Signed-off-by: Sage Weil --- src/osd/osd_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 88fc9833fc626..b74dc1e02b469 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -290,7 +290,7 @@ public: } case 2: { - int type; + __u8 type; pg_t pgid; snapid_t snap; -- 2.39.5