commit | 4e1105a299adf7ac421d42a8be05205f51610f3c | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Fri Aug 31 17:29:52 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 14:30:51 2012 -0500 |
tree | 74c0b0ba2390018d1aa66fdda2e9bc0b095bdb72 | |
parent | 3feeb8946739d980fb0922bf68363552a493a49c [diff] |
rbd: set mapping name with the rest With the exception of the snapshot name, all of the mapping-specific fields in an rbd device structure are set in rbd_header_set_snap(). Pass the snapshot name to be assigned into rbd_header_set_snap() to keep all of the mapping assignments together. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>