rbd: dynamically allocate object prefix
authorAlex Elder <elder@inktank.com>
Tue, 10 Jul 2012 02:04:24 +0000 (21:04 -0500)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 16:30:02 +0000 (09:30 -0700)
commit849b4260d482f7d4be5565b2044901a25f80e2c6
treecea7dc8ccc5b584dce337cdf17d866c5d11bac07
parentd22f76e703040c2cc4ad13dd7747845b9844d360
rbd: dynamically allocate object prefix

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

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