commit | 8836b995fd192dba23d312d2a4fba68dd8ca7183 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Aug 30 14:42:15 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 14:30:51 2012 -0500 |
tree | a04165a494e9327bf052b7ed25f94ba86a28e057 | |
parent | 4e1105a299adf7ac421d42a8be05205f51610f3c [diff] |
rbd: simplify snap_by_name() interface There is only one caller of snap_by_name(), and it passes two values to be assigned, both of which are found within an rbd device structure. Change the interface so it just passes the address of the rbd_dev, and make the assignments to its fields directly. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>