diff options
| author | Ryusuke Konishi <[email protected]> | 2010-01-31 10:46:40 +0000 |
|---|---|---|
| committer | Ryusuke Konishi <[email protected]> | 2010-02-13 03:26:03 +0000 |
| commit | fe5f171bb272946ce5fbf843ce2f8467d0d41b9a (patch) | |
| tree | fc3917cd7b3fae605e464f94af815dc9d9cce36f /net/lapb/lapb_in.c | |
| parent | nilfs2: use mnt_want_write in ioctls where write access is needed (diff) | |
| download | kernel-fe5f171bb272946ce5fbf843ce2f8467d0d41b9a.tar.gz kernel-fe5f171bb272946ce5fbf843ce2f8467d0d41b9a.zip | |
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 <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
