rbd: dynamically allocate pool name
authorAlex Elder <elder@inktank.com>
Thu, 12 Jul 2012 15:46:35 +0000 (10:46 -0500)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 16:30:01 +0000 (09:30 -0700)
commitd22f76e703040c2cc4ad13dd7747845b9844d360
tree04ba194b517ed79350dffc461a93a98591f98998
parent9bb2f334b9b5f2eb6030b7988b7f2302c3115bbb
rbd: dynamically allocate pool name

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

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