summaryrefslogtreecommitdiff
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-02-01 21:20:59 +0300
committerJens Axboe <axboe@fb.com>2017-02-01 22:23:00 +0300
commit72f2f8f6929cf680d42ca44f87b7d370aff94d85 (patch)
tree8c4b1dcc04cac6411bc17662049e469aafa1adba /drivers/block/nbd.c
parent8c0f14eab8f138689e68b3498c0c5fd6ff20a948 (diff)
downloadlinux-72f2f8f6929cf680d42ca44f87b7d370aff94d85.tar.xz
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>
Diffstat (limited to 'drivers/block/nbd.c')
0 files changed, 0 insertions, 0 deletions