From: Alex Elder Date: Thu, 2 Feb 2012 14:13:30 +0000 (-0600) Subject: rbd: reduce memory used for rbd_dev fields X-Git-Tag: v3.4-rc1~76^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60571c7d556b10db7e555bd4b6765647af5c41e8;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed