]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix decoding of legacy (v2) coll_t
authorSage Weil <sage@newdream.net>
Fri, 29 Oct 2010 19:06:44 +0000 (12:06 -0700)
committerSage Weil <sage@newdream.net>
Fri, 29 Oct 2010 19:06:44 +0000 (12:06 -0700)
It was u8, not int.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/osd_types.h

index 88fc9833fc626bd25b2afcdd078fd8063224b237..b74dc1e02b4694529ebb0c9a17f543cffbb9c497 100644 (file)
@@ -290,7 +290,7 @@ public:
       }
 
       case 2: {
-       int type;
+       __u8 type;
        pg_t pgid;
        snapid_t snap;