fix compile errors if debugfs disabled