From: Jens Axboe Date: Fri, 11 Sep 2009 20:44:29 +0000 (+0200) Subject: block: don't assume device has a request list backing in nr_requests store X-Git-Tag: v2.6.32-rc1~688^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a9ae779f2c7049071034661e09cb7e1e82250c;p=pandora-kernel.git block: don't assume device has a request list backing in nr_requests store Stacked devices do not. For now, just error out with -EINVAL. Later we could make the limit apply on stacked devices too, for throttling reasons. This fixes 5a54cd13353bb3b88887604e2c980aa01e314309 and should go into 2.6.31 stable as well. Cc: stable@kernel.org Signed-off-by: Jens Axboe --- Reading git-diff-tree failed