diff options
author | Sage Weil <sage@inktank.com> | 2013-08-15 14:11:45 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-15 14:11:45 -0400 |
commit | ee3e542fec6e69bc9fb668698889a37d93950ddf (patch) | |
tree | e74ee766a4764769ef1d3d45d266b4dea64101d3 /lib/idr.c | |
parent | fe2a801b50c0bb8039d627e5ae1fec249d10ff39 (diff) | |
parent | f1d6e17f540af37bb1891480143669ba7636c4cf (diff) |
Merge remote-tracking branch 'linus/master' into testing
Diffstat (limited to 'lib/idr.c')
-rw-r--r-- | lib/idr.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -524,9 +524,7 @@ EXPORT_SYMBOL(idr_alloc_cyclic); | |||
524 | 524 | ||
525 | static void idr_remove_warning(int id) | 525 | static 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 | ||
532 | static void sub_remove(struct idr *idp, int shift, int id) | 530 | static 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 | } |
1070 | EXPORT_SYMBOL(ida_remove); | 1067 | EXPORT_SYMBOL(ida_remove); |
1071 | 1068 | ||