rbd: dynamically allocate image header 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:03 +0000 (09:30 -0700)
commitcb8627c76db699e3a085596aa80503fb0973c041
treef9c7006c709a114686500d8601beb02a169e9f0c
parent849b4260d482f7d4be5565b2044901a25f80e2c6
rbd: dynamically allocate image header name

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

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