commit | ecb4dc225612e1c0b28d2c1b168422dde4f442a6 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Fri Apr 26 09:43:47 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:19:37 2013 -0700 |
tree | 30ba46a6b18030788751dee3084a6e7e4a12bf84 | |
parent | e1d4213f090644b06aab6ea70e307ecf16182148 [diff] |
rbd: make rbd spec names pointer to const Make the names and image id in an rbd_spec be pointers to constant data. This required the use of a local variable to hold the snapshot name in rbd_add_parse_args() to avoid a warning. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>