]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e091fa65ed9d67e4d6f2e07d1a2844dac31421e
tree80475b9c9994f4c1316db2497d0428fe462a702d
parent7660182f5afcebb429acee8e2a5f859fcdd66916
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