[Ocfs2-commits] manish commits r916 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun May 16 13:04:19 CDT 2004


Author: manish
Date: 2004-05-16 12:04:17 -0500 (Sun, 16 May 2004)
New Revision: 916

Modified:
   trunk/src/hash.c
Log:
Build with 2.6's with per-backing dev unplugging stuff


Modified: trunk/src/hash.c
===================================================================
--- trunk/src/hash.c	2004-05-16 16:58:35 UTC (rev 915)
+++ trunk/src/hash.c	2004-05-16 17:04:17 UTC (rev 916)
@@ -515,7 +515,13 @@
 		    sem->s_pid == current->pid)
 			break;
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-		blk_run_queues();
+		{
+			struct block_device *bd;
+			smp_mb();
+			bd = bh->b_bdev;
+			if (bd)
+				blk_run_address_space(bd->bd_inode->i_mapping);
+		}
 #else
 		run_task_queue(&tq_disk);
 #endif



More information about the Ocfs2-commits mailing list