aboutsummaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-08-15 14:11:45 -0400
committerSage Weil <sage@inktank.com>2013-08-15 14:11:45 -0400
commitee3e542fec6e69bc9fb668698889a37d93950ddf (patch)
treee74ee766a4764769ef1d3d45d266b4dea64101d3 /lib/idr.c
parentfe2a801b50c0bb8039d627e5ae1fec249d10ff39 (diff)
parentf1d6e17f540af37bb1891480143669ba7636c4cf (diff)
Merge remote-tracking branch 'linus/master' into testing
Diffstat (limited to 'lib/idr.c')
-rw-r--r--lib/idr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/idr.c b/lib/idr.c
index cca4b9302a71..bfe4db4e165f 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -524,9 +524,7 @@ EXPORT_SYMBOL(idr_alloc_cyclic);
524 524
525static void idr_remove_warning(int id) 525static void idr_remove_warning(int id)
526{ 526{
527 printk(KERN_WARNING 527 WARN(1, "idr_remove called for id=%d which is not allocated.\n", id);
528 "idr_remove called for id=%d which is not allocated.\n", id);
529 dump_stack();
530} 528}
531 529
532static void sub_remove(struct idr *idp, int shift, int id) 530static void sub_remove(struct idr *idp, int shift, int id)
@@ -1064,8 +1062,7 @@ void ida_remove(struct ida *ida, int id)
1064 return; 1062 return;
1065 1063
1066 err: 1064 err:
1067 printk(KERN_WARNING 1065 WARN(1, "ida_remove called for id=%d which is not allocated.\n", id);
1068 "ida_remove called for id=%d which is not allocated.\n", id);
1069} 1066}
1070EXPORT_SYMBOL(ida_remove); 1067EXPORT_SYMBOL(ida_remove);
1071 1068