summaryrefslogtreecommitdiff
path: root/drivers/block/rbd_types.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-09 21:04:23 -0500
committerSage Weil <sage@inktank.com>2012-07-30 09:30:04 -0700
commitbf3e5ae1129ef18a702c14fbaac27aeb2fe25e62 (patch)
tree80475b9c9994f4c1316db2497d0428fe462a702d /drivers/block/rbd_types.h
parentcb8627c76db699e3a085596aa80503fb0973c041 (diff)
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