]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rbd: show the entire chain of parent images
authorIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 22 Jul 2014 17:53:07 +0000 (21:53 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 25 Jul 2014 09:14:27 +0000 (13:14 +0400)
commitff96128fb020e26e7b32e12e887013956d840f08
treede3cc9d00b9979a2317c9a7d380d1b1f6e3dec66
parent08a0f24e4c62e7dd6b8486903177c1c451819f01
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>
Documentation/ABI/testing/sysfs-bus-rbd
drivers/block/rbd.c