commit | bebdb65e077267957f48e43d205d4a16cc7b8161 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Feb 26 18:38:32 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 27 06:56:21 2020 -0700 |
tree | 4b6b3fdfa7411b8ba3e2ca57a920e64c7ea2e9f7 | |
parent | dd3db2a34cff14e152da7c8e320297719a35abf9 [diff] |
io_uring: define and set show_fdinfo only if procfs is enabled Follow the pattern used with other *_show_fdinfo functions and only define and use io_uring_show_fdinfo and its helper functions if CONFIG_PROC_FS is set. Fixes: 87ce955b24c9 ("io_uring: add ->show_fdinfo() for the io_uring file descriptor") Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jens Axboe <axboe@kernel.dk>