Re: [dm-devel] 2.6.5-rc1-udm1: Patch 3/3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 16 March 2004 8:38 am, Joe Thornber wrote:
> http://people.sistina.com/~thornber/dm/patches/2.6-unstable/2.6.5-rc1/2.6.5
>-rc1-udm1.tar.bz2
>
> I think there were some issues with 2.6.4-mm1, the -udm patches haven't
> changed.

BIO_RW_SYNC is a shift-value.

--- diff/drivers/md/dm-io.c	2004-03-16 09:59:09.000000000 -0600
+++ source/drivers/md/dm-io.c	2004-03-16 09:58:57.000000000 -0600
@@ -497,7 +497,7 @@
 	struct dpages old_pages = *dp;
 
 	if (sync)
-		rw |= BIO_RW_SYNC;
+		rw |= (1 << BIO_RW_SYNC);
 
 	/*
 	 * For multiple regions we need to be careful to rewind

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux