All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100529094606.GG5483@bicker>

diff --git a/a/1.txt b/N1/1.txt
index b9d1950..d12342c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -28,8 +28,8 @@ index e56c72b..0a37019 100644
  		       (unsigned long long)io_size);
  	}
  	entry->bytes_left -= io_size;
--	if (entry->bytes_left = 0)
-+	if (entry->bytes_left = 0) {
+-	if (entry->bytes_left == 0)
++	if (entry->bytes_left == 0) {
  		ret = test_and_set_bit(BTRFS_ORDERED_IO_DONE, &entry->flags);
 -	else
 -		ret = 1;
@@ -44,7 +44,7 @@ index e56c72b..0a37019 100644
  		atomic_inc(&entry->refs);
  	}
  	spin_unlock(&tree->lock);
--	return ret = 0;
+-	return ret == 0;
 +	return ret;
  }
  
diff --git a/a/content_digest b/N1/content_digest
index 9ea8894..fc2d440 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[patch 6/11] btrfs: cleanup btrfs_dec_test_ordered_pending()\0"
- "Date\0Sat, 29 May 2010 09:46:06 +0000\0"
+ "Date\0Sat, 29 May 2010 11:46:06 +0200\0"
  "To\0linux-btrfs@vger.kernel.org\0"
  "Cc\0Josef Bacik <josef@redhat.com>"
   Yan Zheng <zheng.yan@oracle.com>
@@ -40,8 +40,8 @@
  " \t\t       (unsigned long long)io_size);\n"
  " \t}\n"
  " \tentry->bytes_left -= io_size;\n"
- "-\tif (entry->bytes_left = 0)\n"
- "+\tif (entry->bytes_left = 0) {\n"
+ "-\tif (entry->bytes_left == 0)\n"
+ "+\tif (entry->bytes_left == 0) {\n"
  " \t\tret = test_and_set_bit(BTRFS_ORDERED_IO_DONE, &entry->flags);\n"
  "-\telse\n"
  "-\t\tret = 1;\n"
@@ -56,10 +56,10 @@
  " \t\tatomic_inc(&entry->refs);\n"
  " \t}\n"
  " \tspin_unlock(&tree->lock);\n"
- "-\treturn ret = 0;\n"
+ "-\treturn ret == 0;\n"
  "+\treturn ret;\n"
  " }\n"
  " \n"
   /*
 
-96fbcf3273aace3d895e1517b485ad23958873648afe4dcd2b4cc6e8a981cccc
+f89f49ca8255ac1a69e534377c5ff1efef7e78349a6b664b626d8bd5f74a1c1b

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.