Revert "fix compile errors if debugfs disabled"

This reverts commit 495307061b8a33ee7cf2e4fc451860cde9bba654.