Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
80db70ef
Commit
80db70ef
authored
May 09, 2003
by
Hideaki Yoshifuji
Committed by
David S. Miller
May 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Set file_operations->owner as appropriate.
parent
7e85ed71
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
49 additions
and
0 deletions
+49
-0
net/8021q/vlanproc.c
net/8021q/vlanproc.c
+2
-0
net/appletalk/atalk_proc.c
net/appletalk/atalk_proc.c
+3
-0
net/atm/mpoa_proc.c
net/atm/mpoa_proc.c
+1
-0
net/atm/proc.c
net/atm/proc.c
+2
-0
net/bluetooth/hci_proc.c
net/bluetooth/hci_proc.c
+1
-0
net/bluetooth/l2cap.c
net/bluetooth/l2cap.c
+1
-0
net/bluetooth/rfcomm/core.c
net/bluetooth/rfcomm/core.c
+1
-0
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/sock.c
+1
-0
net/bluetooth/sco.c
net/bluetooth/sco.c
+1
-0
net/core/dev.c
net/core/dev.c
+2
-0
net/core/wireless.c
net/core/wireless.c
+1
-0
net/decnet/dn_neigh.c
net/decnet/dn_neigh.c
+1
-0
net/ipv4/arp.c
net/ipv4/arp.c
+1
-0
net/ipv4/fib_hash.c
net/ipv4/fib_hash.c
+1
-0
net/ipv4/proc.c
net/ipv4/proc.c
+3
-0
net/ipv4/raw.c
net/ipv4/raw.c
+1
-0
net/ipv4/route.c
net/ipv4/route.c
+1
-0
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_ipv4.c
+1
-0
net/ipv4/udp.c
net/ipv4/udp.c
+1
-0
net/ipv6/proc.c
net/ipv6/proc.c
+2
-0
net/ipv6/route.c
net/ipv6/route.c
+1
-0
net/ipx/ipx_proc.c
net/ipx/ipx_proc.c
+3
-0
net/llc/llc_proc.c
net/llc/llc_proc.c
+2
-0
net/nonet.c
net/nonet.c
+1
-0
net/rxrpc/proc.c
net/rxrpc/proc.c
+4
-0
net/sctp/proc.c
net/sctp/proc.c
+1
-0
net/socket.c
net/socket.c
+2
-0
net/sunrpc/cache.c
net/sunrpc/cache.c
+1
-0
net/sunrpc/rpc_pipe.c
net/sunrpc/rpc_pipe.c
+1
-0
net/wanrouter/wanproc.c
net/wanrouter/wanproc.c
+3
-0
net/x25/x25_proc.c
net/x25/x25_proc.c
+2
-0
No files found.
net/8021q/vlanproc.c
View file @
80db70ef
...
...
@@ -75,6 +75,7 @@ static char term_msg[] = "***KERNEL: Out of buffer space!***\n";
*/
static
struct
file_operations
vlan_fops
=
{
.
owner
=
THIS_MODULE
,
.
read
=
vlan_proc_read
,
.
ioctl
=
NULL
,
/* vlan_proc_ioctl */
};
...
...
@@ -84,6 +85,7 @@ static struct file_operations vlan_fops = {
*/
static
struct
file_operations
vlandev_fops
=
{
.
owner
=
THIS_MODULE
,
.
read
=
vlan_proc_read
,
.
ioctl
=
NULL
,
/* vlan_proc_ioctl */
};
...
...
net/appletalk/atalk_proc.c
View file @
80db70ef
...
...
@@ -241,6 +241,7 @@ static int atalk_seq_socket_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
atalk_seq_interface_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
atalk_seq_interface_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -248,6 +249,7 @@ static struct file_operations atalk_seq_interface_fops = {
};
static
struct
file_operations
atalk_seq_route_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
atalk_seq_route_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -255,6 +257,7 @@ static struct file_operations atalk_seq_route_fops = {
};
static
struct
file_operations
atalk_seq_socket_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
atalk_seq_socket_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/atm/mpoa_proc.c
View file @
80db70ef
...
...
@@ -42,6 +42,7 @@ static int parse_qos(const char *buff, int len);
* Define allowed FILE OPERATIONS
*/
static
struct
file_operations
mpc_file_operations
=
{
.
owner
=
THIS_MODULE
,
.
read
=
proc_mpc_read
,
.
write
=
proc_mpc_write
,
};
...
...
net/atm/proc.c
View file @
80db70ef
...
...
@@ -57,10 +57,12 @@ static ssize_t proc_spec_atm_read(struct file *file,char *buf,size_t count,
loff_t
*
pos
);
static
struct
file_operations
proc_dev_atm_operations
=
{
.
owner
=
THIS_MODULE
,
.
read
=
proc_dev_atm_read
,
};
static
struct
file_operations
proc_spec_atm_operations
=
{
.
owner
=
THIS_MODULE
,
.
read
=
proc_spec_atm_read
,
};
...
...
net/bluetooth/hci_proc.c
View file @
80db70ef
...
...
@@ -115,6 +115,7 @@ static int inq_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
inq_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
inq_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/bluetooth/l2cap.c
View file @
80db70ef
...
...
@@ -2048,6 +2048,7 @@ static int l2cap_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
l2cap_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
l2cap_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/bluetooth/rfcomm/core.c
View file @
80db70ef
...
...
@@ -1824,6 +1824,7 @@ static int rfcomm_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
rfcomm_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rfcomm_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/bluetooth/rfcomm/sock.c
View file @
80db70ef
...
...
@@ -821,6 +821,7 @@ static int rfcomm_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
rfcomm_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rfcomm_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/bluetooth/sco.c
View file @
80db70ef
...
...
@@ -933,6 +933,7 @@ static int sco_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
sco_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
sco_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/core/dev.c
View file @
80db70ef
...
...
@@ -1912,6 +1912,7 @@ static int dev_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
dev_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
dev_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -1931,6 +1932,7 @@ static int softnet_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
softnet_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
softnet_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/core/wireless.c
View file @
80db70ef
...
...
@@ -465,6 +465,7 @@ static int wireless_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
wireless_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
wireless_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/decnet/dn_neigh.c
View file @
80db70ef
...
...
@@ -693,6 +693,7 @@ static int dn_neigh_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
dn_neigh_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
dn_neigh_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/arp.c
View file @
80db70ef
...
...
@@ -1384,6 +1384,7 @@ static int arp_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
arp_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
arp_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/fib_hash.c
View file @
80db70ef
...
...
@@ -1065,6 +1065,7 @@ static int fib_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
fib_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
fib_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/proc.c
View file @
80db70ef
...
...
@@ -80,6 +80,7 @@ static int sockstat_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
sockstat_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
sockstat_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -171,6 +172,7 @@ static int snmp_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
snmp_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
snmp_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -227,6 +229,7 @@ static int netstat_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
netstat_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
netstat_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/raw.c
View file @
80db70ef
...
...
@@ -807,6 +807,7 @@ static int raw_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
raw_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
raw_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/route.c
View file @
80db70ef
...
...
@@ -382,6 +382,7 @@ static int rt_cache_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
rt_cache_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rt_cache_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/tcp_ipv4.c
View file @
80db70ef
...
...
@@ -2569,6 +2569,7 @@ static int tcp_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
tcp_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
tcp_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv4/udp.c
View file @
80db70ef
...
...
@@ -1483,6 +1483,7 @@ static int udp_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
udp_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
udp_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv6/proc.c
View file @
80db70ef
...
...
@@ -198,6 +198,7 @@ static int sockstat6_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
sockstat6_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
sockstat6_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -210,6 +211,7 @@ static int snmp6_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
snmp6_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
snmp6_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipv6/route.c
View file @
80db70ef
...
...
@@ -1797,6 +1797,7 @@ static int rt6_stats_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
rt6_stats_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rt6_stats_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/ipx/ipx_proc.c
View file @
80db70ef
...
...
@@ -319,6 +319,7 @@ static int ipx_seq_socket_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
ipx_seq_interface_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
ipx_seq_interface_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -326,6 +327,7 @@ static struct file_operations ipx_seq_interface_fops = {
};
static
struct
file_operations
ipx_seq_route_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
ipx_seq_route_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -333,6 +335,7 @@ static struct file_operations ipx_seq_route_fops = {
};
static
struct
file_operations
ipx_seq_socket_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
ipx_seq_socket_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/llc/llc_proc.c
View file @
80db70ef
...
...
@@ -211,6 +211,7 @@ static int llc_seq_core_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
llc_seq_socket_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
llc_seq_socket_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -218,6 +219,7 @@ static struct file_operations llc_seq_socket_fops = {
};
static
struct
file_operations
llc_seq_core_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
llc_seq_core_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/nonet.c
View file @
80db70ef
...
...
@@ -24,5 +24,6 @@ static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
}
struct
file_operations
bad_sock_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
sock_no_open
,
};
net/rxrpc/proc.c
View file @
80db70ef
...
...
@@ -38,6 +38,7 @@ static struct seq_operations rxrpc_proc_transports_ops = {
};
static
struct
file_operations
rxrpc_proc_transports_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rxrpc_proc_transports_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -51,6 +52,7 @@ static void rxrpc_proc_peers_stop(struct seq_file *p, void *v);
static
int
rxrpc_proc_peers_show
(
struct
seq_file
*
m
,
void
*
v
);
static
struct
seq_operations
rxrpc_proc_peers_ops
=
{
.
owner
=
THIS_MODULE
,
.
start
=
rxrpc_proc_peers_start
,
.
next
=
rxrpc_proc_peers_next
,
.
stop
=
rxrpc_proc_peers_stop
,
...
...
@@ -58,6 +60,7 @@ static struct seq_operations rxrpc_proc_peers_ops = {
};
static
struct
file_operations
rxrpc_proc_peers_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rxrpc_proc_peers_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -78,6 +81,7 @@ static struct seq_operations rxrpc_proc_conns_ops = {
};
static
struct
file_operations
rxrpc_proc_conns_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rxrpc_proc_conns_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/sctp/proc.c
View file @
80db70ef
...
...
@@ -102,6 +102,7 @@ static int sctp_snmp_seq_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
sctp_snmp_seq_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
sctp_snmp_seq_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/socket.c
View file @
80db70ef
...
...
@@ -121,6 +121,7 @@ static ssize_t sock_sendpage(struct file *file, struct page *page,
*/
static
struct
file_operations
socket_file_ops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
aio_read
=
sock_aio_read
,
.
aio_write
=
sock_aio_write
,
...
...
@@ -490,6 +491,7 @@ static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
}
struct
file_operations
bad_sock_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
sock_no_open
,
};
...
...
net/sunrpc/cache.c
View file @
80db70ef
...
...
@@ -733,6 +733,7 @@ cache_release(struct inode *inode, struct file *filp)
static
struct
file_operations
cache_file_operations
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
read
=
cache_read
,
.
write
=
cache_write
,
...
...
net/sunrpc/rpc_pipe.c
View file @
80db70ef
...
...
@@ -310,6 +310,7 @@ rpc_info_release(struct inode *inode, struct file *file)
}
static
struct
file_operations
rpc_info_operations
=
{
.
owner
=
THIS_MODULE
,
.
open
=
rpc_info_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/wanrouter/wanproc.c
View file @
80db70ef
...
...
@@ -202,6 +202,7 @@ static int status_open(struct inode *inode, struct file *file)
static
struct
file_operations
config_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
config_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -210,6 +211,7 @@ static struct file_operations config_fops =
static
struct
file_operations
status_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
status_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -285,6 +287,7 @@ static int wandev_open(struct inode *inode, struct file *file)
static
struct
file_operations
wandev_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
wandev_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
net/x25/x25_proc.c
View file @
80db70ef
...
...
@@ -189,6 +189,7 @@ static int x25_seq_route_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
x25_seq_socket_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
x25_seq_socket_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -196,6 +197,7 @@ static struct file_operations x25_seq_socket_fops = {
};
static
struct
file_operations
x25_seq_route_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
x25_seq_route_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment