s390 - dasd with devfs
Subsystems (2)
PATCH 1/1 s390 - dasd with devfs
hi folks
this patch fixes s390 dasd with devfs
bastian
drivers/s390/block/dasd.c +1 -1
@@ -2077,7 +2077,7 @@DBF_EVENT (DBF_EMERG ,"%s" ,"debug area created" ); -if (devfs_mk_dir (NULL ,"dasd" ,NULL )) { +if (!devfs_mk_dir (NULL ,"dasd" ,NULL )) {DBF_EVENT (DBF_ALERT ,"%s" ,"no devfs" ); rc = -ENOSYS ; goto failed;
Signature · 2 lines
Men of peace usually are [brave]. -- Spock, "The Savage Curtain", stardate 5906.5
Quoted 1 line · Bastian Blank
this patch fixes s390 dasd with devfs
if forgot a fix and include an updated patch
bastian
drivers/s390/block/dasd.c +1 -1
@@ -2077,7 +2077,7 @@DBF_EVENT (DBF_EMERG ,"%s" ,"debug area created" ); -if (devfs_mk_dir (NULL ,"dasd" ,NULL )) { +if (!devfs_mk_dir (NULL ,"dasd" ,NULL )) {DBF_EVENT (DBF_ALERT ,"%s" ,"no devfs" ); rc = -ENOSYS ; goto failed;
drivers/s390/block/dasd_genhd.c +1 -0
@@ -145,6 +145,7 @@ gdp->major = mi->major; gdp->first_minor = index <<DASD_PARTN_BITS ; gdp->fops = &dasd_device_operations; + gdp->flags |=GENHD_FL_DEVFS ;/* * Set device name.
Signature · 2 lines
You're dead, Jim. -- McCoy, "The Tholian Web", stardate unknown