diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 22:44:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-24 08:43:57 -0700 |
commit | c1bb36016b09cf5c4b207f470cb116548f5152e0 (patch) | |
tree | 79220106f01b7ef89acbb91545e15a2c51ed20ce /block/bsg.c | |
parent | 80c8fadd31216328720d74ae19c89156ecc00f99 (diff) | |
download | lwn-c1bb36016b09cf5c4b207f470cb116548f5152e0.tar.gz lwn-c1bb36016b09cf5c4b207f470cb116548f5152e0.zip |
block: don't assume device has a request list backing in nr_requests store
commit b8a9ae779f2c7049071034661e09cb7e1e82250c upstream.
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.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions