diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-06-30 22:41:25 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-01 05:56:00 +0400 |
commit | c49568235dd7b4a2ffad63aa950562f4ffb9455f (patch) | |
tree | fbfcc2e0ffc4a82bd9f481e1a746bfb49955800f /include/linux/spi/spi.h | |
parent | 4d6c13f87db12ae1ce35ea6a15688ac72419b133 (diff) | |
download | linux-c49568235dd7b4a2ffad63aa950562f4ffb9455f.tar.xz |
dmapools: protect page_list walk in show_pools()
show_pools() walks the page_list of a pool w/o protection against the list
modifications in alloc/free. Take pool->lock to avoid stomping into
nirvana.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/spi/spi.h')
0 files changed, 0 insertions, 0 deletions