OSDN Git Service

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)
commit9478554ae5d21d65e948a3eff4ee2a8ad30d70e9
tree727eec21db56d5972e38ed488c43e0681058b7ab
parent802c6d967fbdcd2cbc91b917425661bb8bbfaade
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