btrfs: Fix NO_SPACE bug caused by delayed-iput