]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: define rbd_update_mapping_size()
authorAlex Elder <elder@inktank.com>
Tue, 9 Oct 2012 20:50:17 +0000 (13:50 -0700)
committerAlex Elder <elder@inktank.com>
Wed, 10 Oct 2012 14:43:28 +0000 (07:43 -0700)
commitcf5927c2bf8e72bbd07c82dc90f390e356383064
tree727eec21db56d5972e38ed488c43e0681058b7ab
parenta85b36ec17258403e4caa9eb07e568963c621c69
rbd: define rbd_update_mapping_size()

Encapsulate the code that handles updating the size of a mapping
after an rbd image has been refreshed.  This is done in anticipation
of the next patch, which will make this common code for format 1 and
2 images.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c