[PATCH 6.8 131/399] debugfs: fix wait/cancellation handling during remove