From: Ilya Dryomov Date: Tue, 22 Jul 2014 17:53:07 +0000 (+0400) Subject: rbd: show the entire chain of parent images X-Git-Tag: omap-for-v3.17/fixes-against-rc2~85^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff96128fb020e26e7b32e12e887013956d840f08;p=pandora-kernel.git rbd: show the entire chain of parent images Make /sys/bus/rbd/devices//parent show the entire chain of parent images. While at it, kernel sprintf() doesn't return negative values, casting to unsigned long long is no longer necessary and there is no good reason to split into multiple sprintf() calls. Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- Reading git-diff-tree failed