diff options
author | Alex Elder <elder@inktank.com> | 2013-04-26 00:09:41 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 08:19:29 +0400 |
commit | 6087b51b9e7b311353408945bcc48368a54b8bbc (patch) | |
tree | 465ccda8f46d27675296c94679e174865535fe58 /COPYING | |
parent | acb1b6caf179d405ebd1dddefe916ccbb9b90298 (diff) | |
download | linux-6087b51b9e7b311353408945bcc48368a54b8bbc.tar.xz |
rbd: rename __rbd_add_snap_dev()
Rename __rbd_add_snap_dev() to be rbd_snap_create(). We no longer
have devices for non-mapped snapshots, and we're not actually
"adding" it to the list in this function, just creating it.
Rename rbd_remove_snap_dev() to be rbd_snap_destroy() for reasons
similar to the above. Stop having this function delete the snapshot
from its list (to be symmetrical with its create counterpart) and do
that in the caller instead.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions