diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 22:44:29 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-14 08:24:53 +0200 |
commit | b8a9ae779f2c7049071034661e09cb7e1e82250c (patch) | |
tree | e7063b668cc68f4337f1d6545e71d1f881d57e21 /block/genhd.c | |
parent | 3c5820c743479285ce2678fd3c12b1fd39fe998f (diff) |
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 <jens.axboe@oracle.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions