rbd: dynamically allocate image name
authorAlex Elder <elder@inktank.com>
Tue, 10 Jul 2012 02:04:23 +0000 (21:04 -0500)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 16:30:04 +0000 (09:30 -0700)
commitbf3e5ae1129ef18a702c14fbaac27aeb2fe25e62
tree80475b9c9994f4c1316db2497d0428fe462a702d
parentcb8627c76db699e3a085596aa80503fb0973c041
rbd: dynamically allocate image name

There is no need to impose a small limit the length of the rbd image
name recorded in a struct rbd_dev.  Remove the limitation by
allocating space for the image name dynamically.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c
drivers/block/rbd_types.h