diff options
author | Alex Elder <elder@inktank.com> | 2012-07-09 21:04:23 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-30 09:30:04 -0700 |
commit | bf3e5ae1129ef18a702c14fbaac27aeb2fe25e62 (patch) | |
tree | 80475b9c9994f4c1316db2497d0428fe462a702d /drivers/block/rbd_types.h | |
parent | cb8627c76db699e3a085596aa80503fb0973c041 (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.h | 1 |
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 |