]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/gen_stats.c
[NET]: Add some acquires/releases sparse annotations.
[linux-2.6-omap-h63xx.git] / net / core / gen_stats.c
index bcc25591d8ac554c898bbf0a47573ad6705d5934..8073561f7c638f1d5ff24e0925769b4860382e4f 100644 (file)
@@ -55,6 +55,7 @@ rtattr_failure:
 int
 gnet_stats_start_copy_compat(struct sk_buff *skb, int type, int tc_stats_type,
        int xstats_type, spinlock_t *lock, struct gnet_dump *d)
+       __acquires(lock)
 {
        memset(d, 0, sizeof(*d));