patch-2.4.0-test2 linux/drivers/s390/block/dasd.c

Next file: linux/drivers/sbus/audio/audio.c
Previous file: linux/drivers/pnp/isapnp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/s390/block/dasd.c linux/drivers/s390/block/dasd.c
@@ -792,11 +792,10 @@
                           dasd_info[di]->info.devno,'\0' );
                 dasd_info[di] -> devfs_entry =
                         devfs_register ( NULL /* dir */,
-                                         name, strlen(name),
-                                         0 /* flags */,
+                                         name,
+                                         DEVFS_FL_DEFAULT /* flags */,
                                          DASD_MAJOR, minor,
                                          0755 /* mode */, 
-                                         0 /* uid */ , 0 /* gid */,
                                          &dasd_device_operations, 
                                          (void *)dasd_info[di]);
         }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)