diff options
Diffstat (limited to 'net/ax25/ax25_route.c')
-rw-r--r-- | net/ax25/ax25_route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c index 9ecf6f1df863..38c7f3087ec3 100644 --- a/net/ax25/ax25_route.c +++ b/net/ax25/ax25_route.c | |||
@@ -249,6 +249,7 @@ int ax25_rt_ioctl(unsigned int cmd, void __user *arg) | |||
249 | #ifdef CONFIG_PROC_FS | 249 | #ifdef CONFIG_PROC_FS |
250 | 250 | ||
251 | static void *ax25_rt_seq_start(struct seq_file *seq, loff_t *pos) | 251 | static void *ax25_rt_seq_start(struct seq_file *seq, loff_t *pos) |
252 | __acquires(ax25_route_lock) | ||
252 | { | 253 | { |
253 | struct ax25_route *ax25_rt; | 254 | struct ax25_route *ax25_rt; |
254 | int i = 1; | 255 | int i = 1; |
@@ -274,6 +275,7 @@ static void *ax25_rt_seq_next(struct seq_file *seq, void *v, loff_t *pos) | |||
274 | } | 275 | } |
275 | 276 | ||
276 | static void ax25_rt_seq_stop(struct seq_file *seq, void *v) | 277 | static void ax25_rt_seq_stop(struct seq_file *seq, void *v) |
278 | __releases(ax25_route_lock) | ||
277 | { | 279 | { |
278 | read_unlock(&ax25_route_lock); | 280 | read_unlock(&ax25_route_lock); |
279 | } | 281 | } |