commit | e1d4213f090644b06aab6ea70e307ecf16182148 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Apr 25 23:15:08 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:19:36 2013 -0700 |
tree | 44abf593a29ff83f5cc1109acde21413268e7046 | |
parent | 8b0241f85ab11c87075f9de0191acd8b546c6f6a [diff] |
rbd: set snapshot id in rbd_dev_probe_update_spec() Set the rbd spec's snapshot id for an image getting mapped in rbd_dev_probe_update_spec() rather than rbd_dev_set_mapping(). This is the more logical place for that to happen (even though it means we might look up the snapshot by name twice). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>