[xiph-commits] r12350 - trunk/fusd/kfusd

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Jan 18 20:00:38 PST 2007


Author: xiphmont
Date: 2007-01-18 20:00:37 -0800 (Thu, 18 Jan 2007)
New Revision: 12350

Modified:
   trunk/fusd/kfusd/kfusd.c
Log:
Correct a bug in which all valid interrupted write operations were being erroneously tossed (== instead of !=)


Modified: trunk/fusd/kfusd/kfusd.c
===================================================================
--- trunk/fusd/kfusd/kfusd.c	2007-01-19 03:37:40 UTC (rev 12349)
+++ trunk/fusd/kfusd/kfusd.c	2007-01-19 04:00:37 UTC (rev 12350)
@@ -1368,7 +1368,7 @@
 	 NAME(fusd_dev), fusd_dev->pid, current->pid);
 
   transaction = fusd_find_incomplete_transaction(fusd_file, FUSD_WRITE);
-  if (transaction && transaction->size == length)
+  if (transaction && transaction->size != length)
   {
     RDEBUG(2, "Incomplete I/O transaction %ld thrown out, as the transaction's size of %d bytes was not equal to "
               "the retry's size of %d bytes", transaction->transid, transaction->size, (int) length);



More information about the commits mailing list