diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-06-20 13:27:44 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-06-20 13:27:44 +0200 |
commit | 80ceb057135ad77f513277f3bcd04b885501877a (patch) | |
tree | 78e4c78028097ddcf8229133701d6659bb44fa23 /arch | |
parent | 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff) |
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 <namhyung@gmail.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions