summaryrefslogtreecommitdiffstats
path: root/drivers/block/rbd_types.h
diff options
context:
space:
mode:
authorAlex Elder2012-07-10 04:04:23 +0200
committerSage Weil2012-07-30 18:30:04 +0200
commitbf3e5ae1129ef18a702c14fbaac27aeb2fe25e62 (patch)
tree80475b9c9994f4c1316db2497d0428fe462a702d /drivers/block/rbd_types.h
parentrbd: dynamically allocate image header name (diff)
downloadkernel-qcow2-linux-bf3e5ae1129ef18a702c14fbaac27aeb2fe25e62.tar.gz
kernel-qcow2-linux-bf3e5ae1129ef18a702c14fbaac27aeb2fe25e62.tar.xz
kernel-qcow2-linux-bf3e5ae1129ef18a702c14fbaac27aeb2fe25e62.zip
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>
Diffstat (limited to 'drivers/block/rbd_types.h')
-rw-r--r--drivers/block/rbd_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/rbd_types.h b/drivers/block/rbd_types.h
index 950708688f17..0924e9e41a60 100644
--- a/drivers/block/rbd_types.h
+++ b/drivers/block/rbd_types.h
@@ -31,7 +31,6 @@
#define RBD_MIN_OBJ_ORDER 16
#define RBD_MAX_OBJ_ORDER 30
-#define RBD_MAX_OBJ_NAME_LEN 96
#define RBD_MAX_SEG_NAME_LEN 128
#define RBD_COMP_NONE 0