Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rong1129 committed Mar 6, 2012
1 parent a498fca commit cc9a885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/new/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,7 @@ static long binder_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
r = cmd_write_read(proc, thread, &bwr);

/* no one is referencing any objects, so it's safe to do reclaiming now */
if (atomic_dec_return(&proc->busy_threads) && !list_empty(&proc->reclaim_list))
if (!atomic_dec_return(&proc->busy_threads) && !list_empty(&proc->reclaim_list))
binder_reclaim_objs(proc);

/* copy bwr back regardlessly in case we've done write but got interrupted
Expand Down

0 comments on commit cc9a885

Please sign in to comment.