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

Re: Ouch, here's an odd one.



Hi,

On Wed, Feb 07, 2001 at 02:57:11PM +0000, Stephen C. Tweedie wrote:
> 
> Ahh, my fault: one of the recent ext3 diffs got a logic test the wrong
> way round.  Patch below.  Only ext3-0.0.5e is affected.

Really below this time. :)

--Stephen
--- fs/ext3/file.c.~1~	Fri Jan  5 22:15:50 2001
+++ fs/ext3/file.c	Wed Feb  7 14:33:11 2001
@@ -224,7 +224,7 @@
 	 * commit-on-journal_stop. */
 	will_journal_data = ext3_should_journal_data(inode);
 	ordered_data = ((test_opt(inode->i_sb, DATA_FLAGS) == 
-			 EXT3_MOUNT_WRITEBACK_DATA) || 
+			 EXT3_MOUNT_ORDERED_DATA) || 
 			(filp->f_flags & O_SYNC));		
 	
 	jfs_debug(6, "will_journal_data is %d, ordered_data is %d\n", 

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