From: Alex Elder Date: Fri, 27 Jul 2012 04:37:14 +0000 (-0500) Subject: rbd: use sizeof (object) instead of sizeof (type) X-Git-Tag: v3.7-rc1~90^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2bb24e506596ad0c10e4a7f4b2fca88cc75c0bc;p=pandora-kernel.git rbd: use sizeof (object) instead of sizeof (type) Fix a few spots in rbd_header_from_disk() to use sizeof (object) rather than sizeof (type). Use a local variable to record sizes to shorten some lines and improve readability. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed