diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-06-30 11:41:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-30 18:56:00 -0700 |
commit | c49568235dd7b4a2ffad63aa950562f4ffb9455f (patch) | |
tree | fbfcc2e0ffc4a82bd9f481e1a746bfb49955800f /drivers/spi | |
parent | 4d6c13f87db12ae1ce35ea6a15688ac72419b133 (diff) |
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 'drivers/spi')
0 files changed, 0 insertions, 0 deletions