They are now finding that companies in bankruptcy cannot ginf debtor-in-possession and exit financing (DIP loans), which are used to provide cash to companies in reorg.
Debtor-in-possession, or DIP, financing is essential for the lawyers, layoffs and other restructuring necessary for a company’s rebirth. Exit financing is used when a company “exits” reorganization. Banks have been eager to take part in this market because the loans are the first to be paid back and command high interest rates.
(emphasis mine)
This is about as safe as a loan can be. Even if the reorg fails, you are at the head of the line for liquidation, and the interest rates are very good, and people are still unwilling to lend.