patch-2.3.43 linux/net/wanrouter/wanproc.c
Next file: linux/CREDITS
Previous file: linux/net/sunrpc/xprt.c
Back to the patch index
Back to the overall index
- Lines: 60
- Date:
Thu Feb 10 12:17:00 2000
- Orig file:
v2.3.42/linux/net/wanrouter/wanproc.c
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.42/linux/net/wanrouter/wanproc.c linux/net/wanrouter/wanproc.c
@@ -90,17 +90,7 @@
*/
static struct file_operations router_fops =
{
- NULL, /* lseek */
- router_proc_read, /* read */
- NULL, /* write */
- NULL, /* readdir */
- NULL, /* select */
- NULL, /* ioctl */
- NULL, /* mmap */
- NULL, /* no special open code */
- NULL, /* flush */
- NULL, /* no special release code */
- NULL /* can't fsync */
+ read: router_proc_read,
};
static struct inode_operations router_inode =
@@ -117,9 +107,6 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- NULL, /* get_block */
- NULL, /* readpage */
- NULL, /* writepage */
NULL, /* truncate */
router_proc_perms, /* permission */
NULL /* revalidate */
@@ -131,17 +118,8 @@
static struct file_operations wandev_fops =
{
- NULL, /* lseek */
- router_proc_read, /* read */
- NULL, /* write */
- NULL, /* readdir */
- NULL, /* select */
- wanrouter_ioctl, /* ioctl */
- NULL, /* mmap */
- NULL, /* no special open code */
- NULL, /* flush */
- NULL, /* no special release code */
- NULL /* can't fsync */
+ read: router_proc_read,
+ ioctl: wanrouter_ioctl,
};
static struct inode_operations wandev_inode =
@@ -158,9 +136,6 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- NULL, /* get_block */
- NULL, /* readpage */
- NULL, /* writepage */
NULL, /* truncate */
router_proc_perms, /* permission */
NULL /* revalidate */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)