Removed some indentation.
This commit is contained in:
		
							parent
							
								
									13da935060
								
							
						
					
					
						commit
						b5e6319ae7
					
				@ -241,14 +241,11 @@ PRIVATE int common_open(register int oflags, mode_t omode)
 | 
				
			|||||||
      case I_BLOCK_SPECIAL:
 | 
					      case I_BLOCK_SPECIAL:
 | 
				
			||||||
          /* Invoke the driver for special processing. */
 | 
					          /* Invoke the driver for special processing. */
 | 
				
			||||||
          r = dev_open(vp->v_sdev, who_e, bits | (oflags & ~O_ACCMODE));
 | 
					          r = dev_open(vp->v_sdev, who_e, bits | (oflags & ~O_ACCMODE));
 | 
				
			||||||
#if 0
 | 
					 | 
				
			||||||
	  if (r != OK)
 | 
						  if (r != OK)
 | 
				
			||||||
		panic(__FILE__, "common_open: dev_open failed", r);
 | 
							break;
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
          /* Check whether the device is mounted or not */
 | 
					          /* Check whether the device is mounted or not */
 | 
				
			||||||
          found = 0;
 | 
					          found = 0;
 | 
				
			||||||
          if (r == OK) {
 | 
					 | 
				
			||||||
	  for (vmp = &vmnt[0]; vmp < &vmnt[NR_MNTS]; ++vmp) {
 | 
						  for (vmp = &vmnt[0]; vmp < &vmnt[NR_MNTS]; ++vmp) {
 | 
				
			||||||
	      if (vmp->m_dev == vp->v_sdev) {
 | 
						      if (vmp->m_dev == vp->v_sdev) {
 | 
				
			||||||
		  found = 1;
 | 
							  found = 1;
 | 
				
			||||||
@ -280,7 +277,6 @@ PRIVATE int common_open(register int oflags, mode_t omode)
 | 
				
			|||||||
		  != OK) {
 | 
							  != OK) {
 | 
				
			||||||
	      printf("VFSblock_spec_open: error sending driver endpoint\n");
 | 
						      printf("VFSblock_spec_open: error sending driver endpoint\n");
 | 
				
			||||||
	  }
 | 
						  }
 | 
				
			||||||
          }
 | 
					 | 
				
			||||||
          break;
 | 
					          break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      case I_NAMED_PIPE:
 | 
					      case I_NAMED_PIPE:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user