diff for duplicates of <20121205170124.GA21549@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index f1d511d..58bfd8a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -READ is zero so this test is always false. If ((rw & RW_MASK) = READ) +READ is zero so this test is always false. If ((rw & RW_MASK) == READ) was intended. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> @@ -14,7 +14,7 @@ index 70ed4d8..e0a59c6 100644 /* ..and clear the end of the buffer for reads */ - if (rw & READ) { -+ if ((rw & RW_MASK) = READ) { ++ if ((rw & RW_MASK) == READ) { void *kaddr = kmap_atomic(bh->b_page); memset(kaddr + bh_offset(bh) + bytes, 0, bh->b_size - bytes); kunmap_atomic(kaddr); diff --git a/a/content_digest b/N1/content_digest index 66718ad..e28bf91 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0CA+55aFyCuepCzYq4zsLJyMO0yKzb=jD0-zv9zG6RyFYABOGe5w@mail.gmail.com\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch v2] vfs: clear to the end of the buffer on reads\0" - "Date\0Wed, 05 Dec 2012 17:01:24 +0000\0" + "Date\0Wed, 5 Dec 2012 20:01:24 +0300\0" "To\0Alexander Viro <viro@zeniv.linux.org.uk>" " Linus Torvalds <torvalds@linux-foundation.org>\0" "Cc\0linux-fsdevel@vger.kernel.org" @@ -11,7 +11,7 @@ " Tony Luck <tony.luck@intel.com>\0" "\00:1\0" "b\0" - "READ is zero so this test is always false. If ((rw & RW_MASK) = READ)\n" + "READ is zero so this test is always false. If ((rw & RW_MASK) == READ)\n" "was intended.\n" "\n" "Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" @@ -27,9 +27,9 @@ " \n" " \t/* ..and clear the end of the buffer for reads */\n" "-\tif (rw & READ) {\n" - "+\tif ((rw & RW_MASK) = READ) {\n" + "+\tif ((rw & RW_MASK) == READ) {\n" " \t\tvoid *kaddr = kmap_atomic(bh->b_page);\n" " \t\tmemset(kaddr + bh_offset(bh) + bytes, 0, bh->b_size - bytes);\n" " \t\tkunmap_atomic(kaddr);" -02d68a2213dd413ef4d508fe2fa952d68e6fd6271e1bdc7203cdebd17cea39ff +d8639420ef9d3c66447de60c367f50ff4c5041f52a19e3cce4a597d8ffcbd2ef
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.