patch-2.3.30 linux/drivers/i2o/i2o_proc.c
Next file: linux/drivers/isdn/avmb1/kcapi.c
Previous file: linux/drivers/char/zr36120_mem.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Nov 27 15:27:48 1999
- Orig file:
v2.3.29/linux/drivers/i2o/i2o_proc.c
- Orig date:
Thu Nov 11 20:11:35 1999
diff -u --recursive --new-file v2.3.29/linux/drivers/i2o/i2o_proc.c linux/drivers/i2o/i2o_proc.c
@@ -3181,7 +3181,7 @@
sprintf(buff, "iop%d", pctrl->unit);
- dir = create_proc_entry(buff, S_IFDIR, root);
+ dir = proc_mkdir(buff, root);
if(!dir)
return -1;
@@ -3193,7 +3193,7 @@
{
sprintf(buff, "%0#5x", dev->lct_data->tid);
- dir1 = create_proc_entry(buff, S_IFDIR, dir);
+ dir1 = proc_mkdir(buff, dir);
dev->proc_entry = dir1;
if(!dir1)
@@ -3295,7 +3295,7 @@
struct i2o_controller *pctrl = NULL;
int i;
- i2o_proc_dir_root = create_proc_entry("i2o", S_IFDIR, 0);
+ i2o_proc_dir_root = proc_mkdir("i2o", 0);
if(!i2o_proc_dir_root)
return -1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)