Right now rbd_read_header() both reads the header object for an rbd image and decodes its contents. This series rearranges this a bit so this process is broken into into two steps--reading of the raw header data and then separately decoding its contents. [PATCH 1/4] rbd: rearrange rbd_header_from_disk() [PATCH 2/4] rbd: return earlier in rbd_header_from_disk() [PATCH 3/4] rbd: expand rbd_dev_ondisk_valid() checks [PATCH 4/4] rbd: separate reading header from decoding it -Alex -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html