diff options
author | Alex Elder <elder@inktank.com> | 2013-04-26 00:15:08 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 00:19:35 -0400 |
commit | 8b0241f85ab11c87075f9de0191acd8b546c6f6a (patch) | |
tree | 27c74b91be800ef974732473960bd4c3a7471c20 /drivers/block/cryptoloop.c | |
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 'drivers/block/cryptoloop.c')
0 files changed, 0 insertions, 0 deletions