summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/Kconfig
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-03 23:01:19 +0200
committerAlex Elder <elder@inktank.com>2012-10-27 00:18:08 +0200
commitd4b125e9eb43babd14538ba61718e3db71a98d29 (patch)
tree39e9e9c0a9a1734ada9db898763cbf1b6db3e5c8 /drivers/cpuidle/Kconfig
parentrbd: verify rbd image order value (diff)
downloadlinux-d4b125e9eb43babd14538ba61718e3db71a98d29.tar.xz
linux-d4b125e9eb43babd14538ba61718e3db71a98d29.zip
rbd: increase maximum snapshot name length
Change RBD_MAX_SNAP_NAME_LEN to be based on NAME_MAX. That is a practical limit for the length of a snapshot name (based on the presence of a directory using the name under /sys/bus/rbd to represent the snapshot). The /sys entry is created by prefixing it with "snap_"; define that prefix symbolically, and take its length into account in defining the snapshot name length limit. Enforce the limit in rbd_add_parse_args(). Also delete a dout() call in that function that was not meant to be committed. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/cpuidle/Kconfig')
0 files changed, 0 insertions, 0 deletions