Skip to content
Commit bebdb65e authored by Tobias Klauser's avatar Tobias Klauser Committed by Jens Axboe
Browse files

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: 87ce955b ("io_uring: add ->show_fdinfo() for the io_uring file descriptor")
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent dd3db2a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment