commit | d067633b4483f3c7d971d8f889f35340a8635bb5 | [log] [tgz] |
---|---|---|
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Mon Mar 22 19:33:43 2010 +0900 |
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Wed Mar 24 01:17:20 2010 +0900 |
tree | 4b27e195b6006b1fffe8c952d0a208b1e0491583 | |
parent | 110d735a0ae69bdd11af9acb6ea3b979137eb118 [diff] |
nilfs2: fix imperfect completion wait in nilfs_wait_on_logs nilfs_wait_on_logs has a potential to slip out before completion of all bio requests when it met an error. This synchronization fault may cause unexpected results, for instance, violative access to freed segment buffers from an end-bio callback routine. This fixes the issue by ensuring that nilfs_wait_on_logs waits all given logs. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>