patch-2.1.30 linux/fs/buffer.c

Next file: linux/fs/inode.c
Previous file: linux/drivers/scsi/seagate.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/fs/buffer.c linux/fs/buffer.c
@@ -1,4 +1,3 @@
-extern void allow_interrupts(void);
 /*
  *  linux/fs/buffer.c
  *
@@ -626,7 +625,6 @@
 	}
 
 repeat:
-	allow_interrupts();
 	/* OK, we cannot grow the buffer cache, now try to get some
 	   from the lru list */
 
@@ -708,7 +706,6 @@
 	   now so as to ensure that there are still clean buffers available
 	   for user processes to use (and dirty) */
 repeat:
-	allow_interrupts();
 	bh = get_hash_table(dev, block, size);
 	if (bh) {
 		if (!buffer_dirty(bh)) {
@@ -721,7 +718,6 @@
 	}
 
 	while(!free_list[isize]) {
-		allow_interrupts();
 		refill_freelist(size);
 	}
 	
@@ -1516,7 +1512,6 @@
 		ndirty = 0;
 		nwritten = 0;
 	repeat:
-		allow_interrupts();
 	
 		bh = lru_list[nlist];
 		if(bh) 
@@ -1659,7 +1654,6 @@
 			 ndirty = 0;
 			 refilled = 0;
 		 repeat:
-		 	allow_interrupts();
 		 	
 			 bh = lru_list[nlist];
 			 if(bh) 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov