patch-2.3.30 linux/drivers/scsi/scsi_proc.c

Next file: linux/drivers/scsi/sd.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/drivers/scsi/scsi_proc.c linux/drivers/scsi/scsi_proc.c
@@ -120,7 +120,7 @@
 	struct Scsi_Host *hpnt;
 	char name[10];	/* see scsi_unregister_host() */
 
-	tpnt->proc_dir = create_proc_entry(tpnt->proc_name, S_IFDIR, proc_scsi);
+	tpnt->proc_dir = proc_mkdir(tpnt->proc_name, proc_scsi);
 	tpnt->proc_dir->owner = tpnt->module;
 
 	hpnt = scsi_hostlist;

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