summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/pass1.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-09 15:32:51 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-09 15:32:51 +0000
commit29a6582d962c4cc6b372c52f1f4da082e2bc3b88 (patch)
treeb5544348a308657ea0f62e611d0996a91a2fd2b0 /sbin/fsck_ffs/pass1.c
parentc82365de6d1669d3aa8f37a7f91c598524aba316 (diff)
if the device is not started, make sio_pollfd() pass 0 events bitmap
to the backend to avoid reporing the device as writable when it's stopped. Solves 100% CPU usage of apps poll()ing a stopped device.
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
0 files changed, 0 insertions, 0 deletions