[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1397825404-12039-1-git-send-email-laijs@cn.fujitsu.com>
Date: Fri, 18 Apr 2014 20:49:47 +0800
From: Lai Jiangshan <laijs@...fujitsu.com>
To: Tejun Heo <tj@...nel.org>, <linux-kernel@...r.kernel.org>
CC: Lai Jiangshan <laijs@...fujitsu.com>
Subject: [PATCH 0/8] idr: fix & cleanup
Patch1 fix a bug caused by overflow.
Patch2,3 add checks for unallocated_id.
Patch4 changes to returned error code
Patch5-8 cleanup.
Lai Jiangshan (8):
idr: fix overflow bug for the max-high layer
idr: fix unexpected id-removal when idr_remove(unallocated_id)
idr: fix NULL pointer dereference when ida_remove(unallocated_id)
idr: fix idr_replace()'s returned error code
idr: covert BUG_ON() to WARN_ON_ONCE() if the argument is invalid.
idr: avoid ping-pong
idr: don't need to shink the free list when idr_remove()
idr: reduce the unneeded check in free_layer()
lib/idr.c | 58 +++++++++++++++++-----------------------------------------
1 files changed, 17 insertions(+), 41 deletions(-)
--
1.7.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists