Commit bebdb65
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: 87ce955 ("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>1 parent dd3db2a commit bebdb65
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6641 | 6641 | | |
6642 | 6642 | | |
6643 | 6643 | | |
| 6644 | + | |
6644 | 6645 | | |
6645 | 6646 | | |
6646 | 6647 | | |
| |||
6714 | 6715 | | |
6715 | 6716 | | |
6716 | 6717 | | |
| 6718 | + | |
6717 | 6719 | | |
6718 | 6720 | | |
6719 | 6721 | | |
| |||
6725 | 6727 | | |
6726 | 6728 | | |
6727 | 6729 | | |
| 6730 | + | |
6728 | 6731 | | |
| 6732 | + | |
6729 | 6733 | | |
6730 | 6734 | | |
6731 | 6735 | | |
| |||
0 commit comments