diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-05-25 16:38:06 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-26 07:25:13 -0600 |
commit | a8ecdd7117ee68fe27009acc8021423870c1dcd7 (patch) | |
tree | c94396011318e42c77a75d92e93a191deb81e262 /block/deadline-iosched.c | |
parent | 223220356d5ebc05ead9a8d697abb0c0a906fc81 (diff) | |
download | op-kernel-dev-a8ecdd7117ee68fe27009acc8021423870c1dcd7.zip op-kernel-dev-a8ecdd7117ee68fe27009acc8021423870c1dcd7.tar.gz |
blk-mq: Only register debugfs attributes for blk-mq queues
The code in blk-mq-debugfs.c assumes that it is working on a blk-mq
queue and is not intended to work on a blk-sq queue. Hence only
register blk-mq debugfs attributes for blk-mq queues.
Fixes: commit 9c1051aacde8 ("blk-mq: untangle debugfs and sysfs")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions