commit | ff96128fb020e26e7b32e12e887013956d840f08 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Jul 22 21:53:07 2014 +0400 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Fri Jul 25 13:14:27 2014 +0400 |
tree | de3cc9d00b9979a2317c9a7d380d1b1f6e3dec66 | |
parent | 08a0f24e4c62e7dd6b8486903177c1c451819f01 [diff] |
rbd: show the entire chain of parent images Make /sys/bus/rbd/devices/<id>/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 <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>