commit | 7e105057a34c83cea542dacc55ff0528bce67afa | [log] [tgz] |
---|---|---|
author | Stefani Seibold <stefani@seibold.net> | Fri Jan 15 17:01:02 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jan 16 12:15:37 2010 -0800 |
tree | 2603ae4ef6b310d8a26f779761cff8cfb4815c09 | |
parent | 33f724eb9e3d6e33aad410318d3ac720fecbdbcd [diff] |
kfifo: fix kfifo_out_locked race bug Fix a wrong optimization in include/linux/kfifo.h which could cause a race in kfifo_out_locked. Signed-off-by: Stefani Seibold <stefani@seibold.net> Reported-by: Johan Hovold <jhovold@gmail.com> Cc: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>