diff for duplicates of <949636.86471.qm@web31809.mail.mud.yahoo.com> diff --git a/a/1.txt b/N1/1.txt index 6eb7d4a..0d58a7c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -53,7 +53,7 @@ Oct 22 18:49:06 localhost kernel: sd 7:0:0:0: [sdc] Mode Sense: 23 00 00 00 Oct 22 18:49:06 localhost kernel: sd 7:0:0:0: [sdc] No Caching mode page present Oct 22 18:49:06 localhost kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through -Signed-off-by: Luben Tuikov <ltuikov-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> +Signed-off-by: Luben Tuikov <ltuikov@yahoo.com> --- drivers/scsi/sd.c | 63 +++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 47 insertions(+), 16 deletions(-) @@ -146,3 +146,10 @@ index ffa0689..81e83d7 100644 sd_printk(KERN_ERR, sdkp, "Got wrong page\n"); goto defaults; } +- ++ Page_found: + if (modepage == 8) { + sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); + sdkp->RCD = ((buffer[offset + 2] & 0x01) != 0); +-- +1.7.2.2.165.gbc382 diff --git a/a/content_digest b/N1/content_digest index 2ff5bfe..bcdcf23 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,12 +1,12 @@ - "From\0Luben Tuikov <ltuikov-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>\0" + "From\0Luben Tuikov <ltuikov@yahoo.com>\0" "Subject\0[PATCH repost 3] [SCSI] Retrieve the Caching mode page\0" "Date\0Mon, 22 Nov 2010 08:56:35 -0800 (PST)\0" - "To\0linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" - linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> - James Bottomley <James.Bottomley-l3A5Bk7waGM@public.gmane.org> - " Linus Torvalds <torvalds@linu>\0" + "To\0linux-kernel@vger.kernel.org" + linux-scsi@vger.kernel.org + linux-usb@vger.kernel.org + Greg KH <greg@kroah.com> + James Bottomley <James.Bottomley@suse.de> + " Linus Torvalds <torvalds@linux-foundation.org>\0" "\00:1\0" "b\0" "Some kernel transport drivers unconditionally disable\n" @@ -64,7 +64,7 @@ "Oct 22 18:49:06 localhost kernel: sd 7:0:0:0: [sdc] No Caching mode page present\n" "Oct 22 18:49:06 localhost kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through\n" "\n" - "Signed-off-by: Luben Tuikov <ltuikov-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>\n" + "Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>\n" "---\n" " drivers/scsi/sd.c | 63 +++++++++++++++++++++++++++++++++++++++-------------\n" " 1 files changed, 47 insertions(+), 16 deletions(-)\n" @@ -156,6 +156,13 @@ "+ } else if ((buffer[offset] & 0x3f) != modepage) {\n" " sd_printk(KERN_ERR, sdkp, \"Got wrong page\\n\");\n" " goto defaults;\n" - } + " }\n" + "-\n" + "+ Page_found:\n" + " if (modepage == 8) {\n" + " sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0);\n" + " sdkp->RCD = ((buffer[offset + 2] & 0x01) != 0);\n" + "-- \n" + 1.7.2.2.165.gbc382 -caf665cad1fe4892e74ccc5068164d3889cd925c81b50c3714159e3d22a9d4e9 +d56175eebc9c10585e974c9352f818d4336d05d3532e5e3c462efe4b7c4a639a
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.