Ryusuke Konishi fe5f171bb2 nilfs2: fix potential hang in nilfs_error on errors=remount-ro
nilfs_error() calls nilfs_detach_segment_constructor() if
errors=remount-ro option is specified, and this may lead to a hang due
to recursive locking of, for instance, nilfs->ns_segctor_sem and
others.

In this case, detaching segment constructor is not necessary because
read-only flag is set to the filesystem and further writes are
blocked.

This fixes the potential hang issue by removing the
nilfs_detach_segment_constructor() call from nilfs_error.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2010-02-13 12:26:03 +09:00
..
2009-04-07 08:31:13 -07:00
2009-12-25 13:01:50 +09:00
2009-12-25 13:01:50 +09:00
2009-11-20 10:05:50 +09:00
2009-12-25 13:01:50 +09:00
2009-11-20 10:05:50 +09:00
2009-04-07 08:31:16 -07:00
2009-04-07 08:31:13 -07:00
2009-06-11 21:36:18 -04:00