From: Boaz Harrosh Date: Tue, 24 Mar 2009 11:37:50 +0000 (+0100) Subject: bsg: Remove bogus check against request_queue->max_sectors X-Git-Tag: v2.6.30-rc1~660^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7cbbf1bf17e3c706f874e867f7b744e1c86fed9;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed