diff for duplicates of <4E2D4E3B.4050407@cam.ac.uk> diff --git a/a/1.txt b/N1/1.txt index 6a7aa08..f790f94 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -49,7 +49,7 @@ Thanks, >> - return -ENODEV; >> - >> - error = ida_get_new(&osd_minor_ida, &minor); ->> - } while (error == -EAGAIN); +>> - } while (error = -EAGAIN); >> - >> - if (error) >> - return error; @@ -59,7 +59,7 @@ Thanks, >> + minor = ida_simple_get(&osd_minor_ida, 0, >> + SCSI_OSD_MAX_MINOR, GFP_KERNEL); >> + if (minor < 0) { ->> + if (minor == -ENOSPC) +>> + if (minor = -ENOSPC) >> + return -EBUSY; > > Just drop the translation is fine as well @@ -78,4 +78,10 @@ Thanks, >> } >> > -> +> + + +_______________________________________________ +lm-sensors mailing list +lm-sensors@lm-sensors.org +http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index 7cbf9e2..b10bc0c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\01311352886-4047-7-git-send-email-jic23@cam.ac.uk\0" "ref\04E29EFDA.1080407@panasas.com\0" "From\0Jonathan Cameron <jic23@cam.ac.uk>\0" - "Subject\0Re: [osd-dev] [PATCH 6/8] [SCSI] osduld: use ida_simple_get to handle id.\0" - "Date\0Mon, 25 Jul 2011 12:06:35 +0100\0" + "Subject\0Re: [lm-sensors] [osd-dev] [PATCH 6/8] [SCSI] osduld: use\0" + "Date\0Mon, 25 Jul 2011 11:06:35 +0000\0" "To\0Boaz Harrosh <bharrosh@panasas.com>\0" "Cc\0linux-kernel@vger.kernel.org" randy.dunlap@oracle.com @@ -82,7 +82,7 @@ ">> -\t\t\treturn -ENODEV;\n" ">> -\n" ">> -\t\terror = ida_get_new(&osd_minor_ida, &minor);\n" - ">> -\t} while (error == -EAGAIN);\n" + ">> -\t} while (error = -EAGAIN);\n" ">> -\n" ">> -\tif (error)\n" ">> -\t\treturn error;\n" @@ -92,7 +92,7 @@ ">> +\tminor = ida_simple_get(&osd_minor_ida, 0,\n" ">> +\t\t\t SCSI_OSD_MAX_MINOR, GFP_KERNEL);\n" ">> +\tif (minor < 0) {\n" - ">> +\t\tif (minor == -ENOSPC)\n" + ">> +\t\tif (minor = -ENOSPC)\n" ">> +\t\t\treturn -EBUSY;\n" "> \n" "> Just drop the translation is fine as well\n" @@ -111,6 +111,12 @@ ">> }\n" ">> \n" "> \n" - > + "> \n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -1864d99857048334144eb56edf921ab997eab114374ea8567734ae7638abc05f +e983e389612c8f7b18018729efe19f5607915d1defc6234a0212e7bd3f64d4e1
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.