diff options
author | Alex Elder | 2013-04-25 23:15:08 -0500 |
---|---|---|
committer | Sage Weil | 2013-05-01 21:19:35 -0700 |
commit | 8b0241f85ab11c87075f9de0191acd8b546c6f6a (patch) | |
tree | 27c74b91be800ef974732473960bd4c3a7471c20 /arch | |
parent | 5655c4d940ba8dd32250ab1e4ba3db785943a28e (diff) |
rbd: have snap_by_name() return a snapshot
A function called snap_by_name() ought to just look up a snapshot by
name. It does that, but then it assigns some stuff to the rbd
device structure as well.
Change the function to do just the lookup, and have the caller do
the assignments that follow.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions