From: Alex Elder Date: Thu, 2 Aug 2012 16:29:45 +0000 (-0500) Subject: rbd: expand rbd_dev_ondisk_valid() checks X-Git-Tag: v3.7-rc1~90^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=103a150f0cc57576b1c4b80bf07af60a14349eee;p=pandora-kernel.git rbd: expand rbd_dev_ondisk_valid() checks Add checks on the validity of the snap_count and snap_names_len field values in rbd_dev_ondisk_valid(). This eliminates the need to do them in rbd_header_from_disk(). Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed