diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2020-03-04 17:24:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-05 21:38:02 -0800 |
commit | 3424170f37e78c9061e033ecebf42292b3939bbd (patch) | |
tree | 35760921d7b04f1f241488bd8fb62f86d685e9be /fs/fs_pin.c | |
parent | 182094348a08e712b41c0dbee92791bfa3b76d53 (diff) |
tun: replace tun_debug() by netif_info()
The tun driver uses custom macro tun_debug() which is only available if
TUN_DEBUG is set. Replace it by standard netif_ifinfo(). For that purpose,
rename tun_struct::debug to msg_enable and make it u32 and always present.
Finally, make tun_get_msglevel(), tun_set_msglevel() and TUNSETDEBUG ioctl
independent of TUN_DEBUG.
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/fs_pin.c')
0 files changed, 0 insertions, 0 deletions