patch-2.3.48 linux/net/atm/mpoa_proc.c
Next file: linux/net/atm/proc.c
Previous file: linux/net/atm/lec.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sat Feb 26 20:33:10 2000
- Orig file:
v2.3.47/linux/net/atm/mpoa_proc.c
- Orig date:
Thu Feb 10 17:11:23 2000
diff -u --recursive --new-file v2.3.47/linux/net/atm/mpoa_proc.c linux/net/atm/mpoa_proc.c
@@ -45,13 +45,6 @@
write: proc_mpc_write,
};
-/*
- * Define allowed INODE OPERATIONS
- */
-static struct inode_operations mpc_inode_operations = {
- &mpc_file_operations,
-};
-
static int print_header(char *buff,struct mpoa_client *mpc){
if(mpc != NULL){
return sprintf(buff,"\nInterface %d:\n\n",mpc->dev_num);
@@ -330,7 +323,7 @@
printk(KERN_ERR "Unable to initialize /proc/atm/%s\n", STAT_FILE_NAME);
return -ENOMEM;
}
- p->ops = &mpc_inode_operations;
+ p->proc_fops = &mpc_file_operations;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)