summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-02-02 15:13:30 +0100
committerAlex Elder <elder@dreamhost.com>2012-03-22 16:47:48 +0100
commit60571c7d556b10db7e555bd4b6765647af5c41e8 (patch)
tree34e5f4f677693791efc489ca9005356cd4477a01 /arch/h8300
parentrbd: have rbd_get_client() return a rbd_client (diff)
downloadlinux-60571c7d556b10db7e555bd4b6765647af5c41e8.tar.xz
linux-60571c7d556b10db7e555bd4b6765647af5c41e8.zip
rbd: reduce memory used for rbd_dev fields
The length of the string containing the monitor address specification(s) will never exceed the length of the string passed in to rbd_add(). The same holds true for the ceph + rbd options string. So reduce the amount of memory allocated for these to that length rather than the maximum (1024 bytes). Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions