From: Alex Elder Date: Thu, 30 Aug 2012 19:42:15 +0000 (-0500) Subject: rbd: kill rbd_image_header->total_snaps X-Git-Tag: v3.7-rc1~90^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9aadfe7860f83ee17e55fe17398f3fe948a0a84;p=pandora-kernel.git rbd: kill rbd_image_header->total_snaps The "total_snaps" field in an rbd header structure is never any different from the value of "num_snaps" stored within a snapshot context. Avoid any confusion by just using the value held within the snapshot context, and get rid of the "total_snaps" field. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed