]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: fix snapshot size type
authorJosh Durgin <josh.durgin@dreamhost.com>
Tue, 6 Dec 2011 02:25:13 +0000 (18:25 -0800)
committerAlex Elder <elder@dreamhost.com>
Mon, 14 May 2012 17:13:03 +0000 (12:13 -0500)
commit61ab10143e83d4a1c64846727b5212b1bcbd7b05
tree11b8dbe116875b4596b8415d0bd7b073f36858d6
parentb45f89733538a988a27baa2b376fe7d4e3dded37
rbd: fix snapshot size type

Snapshot sizes should be the same type as regular image sizes. This
only affects their displayed size in sysfs, not the reported size of
an actual block device sizes.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Reviewed-by: Alex Elder <elder@dreamhost.com>
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
drivers/block/rbd.c