From e7d72173248c29c6f9ba14e40374266e1b954964 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Tue, 8 May 2007 15:32:03 +0200 Subject: [PATCH] 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 Signed-off-by: Jens Axboe --- Reading git-format-patch failed