aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-10-10 21:19:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 08:46:48 -0800
commit38f14fd492d3a7d2d096795f2e457d556a6b2f95 (patch)
tree2db9d6d4e5758383f898d59227fee85d802ed400 /lib/dynamic_debug.c
parent4de98b629ee84b800da6f4a5f8b0f4cfba3a7e3c (diff)
rbd: fix bug in rbd_dev_id_put()
(cherry picked from commit b213e0b1a62637b2a9395a34349b13d73ca2b90a) In rbd_dev_id_put(), there's a loop that's intended to determine the maximum device id in use. But it isn't doing that at all, the effect of how it's written is to simply use the just-put id number, which ignores whole purpose of this function. Fix the bug. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions