commit | 72f2f8f6929cf680d42ca44f87b7d370aff94d85 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Wed Feb 01 10:20:59 2017 -0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 01 12:23:00 2017 -0700 |
tree | 8c4b1dcc04cac6411bc17662049e469aafa1adba | |
parent | 8c0f14eab8f138689e68b3498c0c5fd6ff20a948 [diff] |
blk-mq-debug: Introduce debugfs_create_files() Replace the two debugfs_create_file() loops by a call to the new debugfs_create_files() function. Add an empty element at the end of the two attribute arrays such that the array size does not have to be passed to debugfs_create_files(). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>