From: Yan, Zheng Date: Tue, 14 Oct 2014 07:38:01 +0000 (+0800) Subject: ceph: fix divide-by-zero in __validate_layout() X-Git-Tag: fixes-against-v3.18-rc2~71^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bc62284ee3f2a228c64902ed818b6ba8e04159b;p=pandora-kernel.git ceph: fix divide-by-zero in __validate_layout() The 'stripe_unit' field is 64 bits, casting it to 32 bits can result zero. Signed-off-by: Yan, Zheng --- Reading git-diff-tree failed