OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/lib/kobject_uevent.c |
2 | +++ b/lib/kobject_uevent.c |
||
3 | @@ -53,6 +53,18 @@ static const char *kobject_actions[] = { |
||
4 | [KOBJ_OFFLINE] = "offline", |
||
5 | }; |
||
6 | |||
7 | +u64 uevent_next_seqnum(void) |
||
8 | +{ |
||
9 | + u64 seq; |
||
10 | + |
||
11 | + mutex_lock(&uevent_sock_mutex); |
||
12 | + seq = ++uevent_seqnum; |
||
13 | + mutex_unlock(&uevent_sock_mutex); |
||
14 | + |
||
15 | + return seq; |
||
16 | +} |
||
17 | +EXPORT_SYMBOL_GPL(uevent_next_seqnum); |
||
18 | + |
||
19 | /** |
||
20 | * kobject_action_type - translate action string to numeric type |
||
21 | * |