projects/linux·commit 8482a0ab

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6

8482a0ab · Linus Torvalds <[email protected]> · 2012-03-03 16:42:30 -08:00

SCSI fixes from James Bottomley:
 "There's just a single fix in here: the osd max device number fix."

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
  [SCSI] osd_uld: Bump MAX_OSD_DEVICES from 64 to 1,048,576
Commit
8482a0abe94e535bca25d22f8d46bbecbfe1f132
Parents
233ba2c5 · 41f8ad76

Merge commit. Changes below are compared with the first parent: 233ba2c5.

Changes

1 files changed · +2 −2

FileStatusAddDelContent
drivers/scsi/osd/osd_uld.cmodified+2−2View file

drivers/scsi/osd/osd_uld.c

View file
diff --git a/drivers/scsi/osd/osd_uld.c b/drivers/scsi/osd/osd_uld.c
index b31a8e3..d4ed9eb 100644
--- a/drivers/scsi/osd/osd_uld.c
+++ b/drivers/scsi/osd/osd_uld.c
@@ -69,10 +69,10 @@
#ifndef SCSI_OSD_MAJOR
# define SCSI_OSD_MAJOR 260
#endif
-#define SCSI_OSD_MAX_MINOR 64
+#define SCSI_OSD_MAX_MINOR MINORMASK
static const char osd_name[] = "osd";
-static const char *osd_version_string = "open-osd 0.2.0";
+static const char *osd_version_string = "open-osd 0.2.1";
MODULE_AUTHOR("Boaz Harrosh <[email protected]>");
MODULE_DESCRIPTION("open-osd Upper-Layer-Driver osd.ko");