debugging help
This commit is contained in:
		
							parent
							
								
									41abfaa92e
								
							
						
					
					
						commit
						95edc8921f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								bio.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								bio.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -80,6 +80,7 @@ bget(uint dev, uint sector)
 | 
			
		|||
        sleep(buf, &buf_table_lock);
 | 
			
		||||
      } else {
 | 
			
		||||
        b->flags |= B_BUSY;
 | 
			
		||||
        // b->flags &= ~B_VALID; // Force reread from disk
 | 
			
		||||
        release(&buf_table_lock);
 | 
			
		||||
        return b;
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue