summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/dat.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-01-31 19:46:40 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-02-13 12:26:03 +0900
commitfe5f171bb272946ce5fbf843ce2f8467d0d41b9a (patch)
treefc3917cd7b3fae605e464f94af815dc9d9cce36f /fs/nilfs2/dat.c
parent7512487e6d6459e4c3f9c7cedc53050a6c30e387 (diff)
downloadop-kernel-dev-fe5f171bb272946ce5fbf843ce2f8467d0d41b9a.zip
op-kernel-dev-fe5f171bb272946ce5fbf843ce2f8467d0d41b9a.tar.gz
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>
Diffstat (limited to 'fs/nilfs2/dat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud