diff for duplicates of <20121205124403.GA31930@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index b25c143..4da0ba0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -READ is zero so this test is always false. (rw = READ) was intended. +READ is zero so this test is always false. (rw == READ) was intended. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> @@ -11,7 +11,7 @@ index 70ed4d8..e0a59c6 100644 /* ..and clear the end of the buffer for reads */ - if (rw & READ) { -+ if (rw = READ) { ++ if (rw == 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 96e6b0d..8a73fc8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] vfs: clear to the end of the buffer on reads\0" - "Date\0Wed, 05 Dec 2012 12:44:03 +0000\0" + "Date\0Wed, 5 Dec 2012 15:44:03 +0300\0" "To\0Alexander Viro <viro@zeniv.linux.org.uk>" " Linus Torvalds <torvalds@linux-foundation.org>\0" "Cc\0linux-fsdevel@vger.kernel.org" @@ -10,7 +10,7 @@ " Tony Luck <tony.luck@intel.com>\0" "\00:1\0" "b\0" - "READ is zero so this test is always false. (rw = READ) was intended.\n" + "READ is zero so this test is always false. (rw == READ) was intended.\n" "\n" "Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" "\n" @@ -23,9 +23,9 @@ " \n" " \t/* ..and clear the end of the buffer for reads */\n" "-\tif (rw & READ) {\n" - "+\tif (rw = READ) {\n" + "+\tif (rw == 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);" -a15db68712924b928ba54879205a0cdb6fc33cba3bcf16a7435912e65a05a4c0 +37b0a5134b05e8f9bbae2dde6ca160997a7953dcd3895d7a49e72c031fe96d42
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.