aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorSuzuki K. Poulose <[email protected]>2012-08-31 12:39:18 +0530
committerArnaldo Carvalho de Melo <[email protected]>2012-10-24 14:20:11 -0200
commit03f2f93ae00762eb881424df1c688d034fd341ee (patch)
treed0f58d63e0447ff86c9e1c24ec226a0adcce4e8d /lib/string_helpers.c
parent68e94f4eb56d92ccb617a98fcac5e575702ec4fd (diff)
Account the nr_entries in rblist properly
The nr_entries in rblist is never decremented when an element is deleted. Also, use rblist__remove_node to delete a node in rblist__delete(). This would keep the nr_entries sane. Signed-off-by: Suzuki K. Poulose <[email protected]> Acked-by: David S. Ahern <[email protected]> Cc: David S. Ahern <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions