From: Namhyung Kim Date: Mon, 20 Jun 2011 11:27:44 +0000 (+0200) Subject: bsg: fix bsg_poll() to return POLLOUT properly X-Git-Tag: v3.1-rc1~251^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ceb057135ad77f513277f3bcd04b885501877a;p=pandora-kernel.git bsg: fix bsg_poll() to return POLLOUT properly POLLOUT should be returned only if bd->queued_cmds < bd->max_queue so that bsg_alloc_command() can proceed. Signed-off-by: Namhyung Kim Acked-by: FUJITA Tomonori Signed-off-by: Jens Axboe --- Reading git-diff-tree failed