commit | e7d72173248c29c6f9ba14e40374266e1b954964 | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Tue May 08 15:32:03 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Jul 16 08:52:46 2007 +0200 |
tree | 5f4d14d210ca3d49d209942be0ce60e65a433ce7 | |
parent | 4cf0723ac89b5f2189da2ad07ef875de26b83c77 [diff] |
bsg: fix a blocking read bug This patch fixes a bug that read() returns ENODATA even with a blocking file descriptor when there are no commands pending. This also includes some cleanups. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>