diff options
author | 2009-03-24 12:37:50 +0100 | |
---|---|---|
committer | 2009-03-26 11:01:25 +0100 | |
commit | e7cbbf1bf17e3c706f874e867f7b744e1c86fed9 (patch) | |
tree | 93076e12227e81f711402641146a4644d31a3c57 /fs/file_table.c | |
parent | block: WARN in __blk_put_request() for potential bio leak (diff) | |
download | linux-rng-e7cbbf1bf17e3c706f874e867f7b744e1c86fed9.tar.xz linux-rng-e7cbbf1bf17e3c706f874e867f7b744e1c86fed9.zip |
bsg: Remove bogus check against request_queue->max_sectors
bsg submits REQ_TYPE_BLOCK_PC so the right check is max_hw_sectors.
But I've removed this check because right after, bsg proceeds with
calling blk_rq_map_user() which does all the right checks.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions