From: Suzuki K. Poulose Date: Fri, 31 Aug 2012 07:09:18 +0000 (+0530) Subject: Account the nr_entries in rblist properly X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~10^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f2f93ae00762eb881424df1c688d034fd341ee;p=pandora-kernel.git 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 Acked-by: David S. Ahern Cc: David S. Ahern Link: http://lkml.kernel.org/r/20120831070834.14806.87398.stgit@suzukikp.in.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed