]> git.baikalelectronics.ru Git - kernel.git/commit
[JFFS2] Locking issues in summary write code.
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 21 May 2006 12:15:59 +0000 (13:15 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 21 May 2006 12:15:59 +0000 (13:15 +0100)
commit35da53107d0cc2ba68716dd1412e4c22a7300aea
tree96c6ceddfec1aa6ddcdd0efcb39f903b284203c2
parentb473a3a86049cef6d38505f0ce31e35785b75533
[JFFS2] Locking issues in summary write code.

We can't use jffs2_scan_dirty_space() because it doesn't do any locking; it's
only for use at scan time -- hence the 'scan' in the name.

Also, don't allocate refs while we have c->erase_completion_lock held.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/summary.c