summaryrefslogtreecommitdiffstats
path: root/scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-10-20 13:34:33 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-10-20 13:34:33 -0400
commit5917cde9c1fa840708337929886e92865fcb1371 (patch)
tree86116e473b8a1c0e69d71a3ed0bb10137b455b36 /scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
parent12f4f4deead321d9cce264bbe3b3cae47ba9df2b (diff)
downloadkernel-5917cde9c1fa840708337929886e92865fcb1371.tar.gz
kernel-5917cde9c1fa840708337929886e92865fcb1371.tar.xz
kernel-5917cde9c1fa840708337929886e92865fcb1371.zip
Linux v3.18-rc1
- Disable debugging options.
Diffstat (limited to 'scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch')
-rw-r--r--scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch b/scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
index 54d65e24e..ec9e06bec 100644
--- a/scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
+++ b/scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
@@ -9,10 +9,10 @@ Upstream-status: Fedora mustard (might be worth dropping...)
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
-index 0cb5c9f0c743..286b6e67d11d 100644
+index cfba74cd8e8b..5127df3cc064 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
-@@ -2753,13 +2753,18 @@ static int sd_try_extended_inquiry(struct scsi_device *sdp)
+@@ -2768,13 +2768,18 @@ static int sd_try_extended_inquiry(struct scsi_device *sdp)
static int sd_revalidate_disk(struct gendisk *disk)
{
struct scsi_disk *sdkp = scsi_disk(disk);