diff options
author | David Howells <[email protected]> | 2013-07-23 16:49:24 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-07-23 15:46:48 -0700 |
commit | 42577ca8c3616baaafdd8f167b2e1fb959026081 (patch) | |
tree | 81a5bba5e15a6f680541aca0f04b204e8a2f4145 /net/lapb/lapb_out.c | |
parent | 7c6d4dca777d6423cb9ccdc019cad94c75adcbe4 (diff) |
Fix __wait_on_atomic_t() to call the action func if the counter != 0
Fix __wait_on_atomic_t() so that it calls the action func if the counter != 0
rather than if the counter is 0 so as to be analogous to __wait_on_bit().
Thanks to Yacine who found this by visual inspection.
This will affect FS-Cache in that it will could fail to sleep correctly when
trying to clean up after a netfs cookie is withdrawn.
Reported-by: Yacine Belkadi <[email protected]>
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: Milosz Tanski <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions