From: FUJITA Tomonori Date: Tue, 8 May 2007 13:32:03 +0000 (+0200) Subject: bsg: fix a blocking read bug X-Git-Tag: v2.6.23-rc1~782^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7d72173248c29c6f9ba14e40374266e1b954964;p=pandora-kernel.git 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-diff-tree failed