diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2006-11-09 09:30:48 +0530 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-29 15:33:08 -0800 |
commit | 9ab1ffa8775d9c677b1301cccce8a7d91e5163d0 (patch) | |
tree | faeb67b61284d49b0cf661be670f3f3c7bfbc340 /drivers/oprofile/buffer_sync.c | |
parent | 715a588f420936ecdb813c4fcd40dff7a16b1638 (diff) |
RDMA/iwcm: Fix comment for iwcm_deref_id() to match code
In iwcm_deref_id(), the comment says : "If the last reference is being
removed and iw_destroy_cm_id is waiting, wake up the waiting
thread". The second part of the comment, "and iw_destroy_cm_id is
waiting," is wrong, since this function either wakes the waiter
already waiting in iwcm_deref_id, or enables it (so that when
wait_for_completion() is performed later, it will immediately return).
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
0 files changed, 0 insertions, 0 deletions