projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET]: Add some acquires/releases sparse annotations.
[deliverable/linux.git]
/
net
/
ipv4
/
fib_hash.c
diff --git
a/net/ipv4/fib_hash.c
b/net/ipv4/fib_hash.c
index 9d5404158476dc6e504aea717243e8ea72866e44..ee1ffdb3044fe6fee31f3a61f49f2e4d15242edc 100644
(file)
--- a/
net/ipv4/fib_hash.c
+++ b/
net/ipv4/fib_hash.c
@@
-936,6
+936,7
@@
static struct fib_alias *fib_get_idx(struct seq_file *seq, loff_t pos)
}
static void *fib_seq_start(struct seq_file *seq, loff_t *pos)
+ __acquires(fib_hash_lock)
{
void *v = NULL;
@@
-952,6
+953,7
@@
static void *fib_seq_next(struct seq_file *seq, void *v, loff_t *pos)
}
static void fib_seq_stop(struct seq_file *seq, void *v)
+ __releases(fib_hash_lock)
{
read_unlock(&fib_hash_lock);
}
This page took
0.037584 seconds
and
5
git commands to generate.