From: Jarek Poplawski Date: Tue, 19 Aug 2008 03:53:34 +0000 (-0700) Subject: pkt_sched: Add lockdep annotation for qdisc locks X-Git-Tag: v2.6.27-rc4~39^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25bfcd5a78a377ea4c54a3c21e44590e2fc478a6;p=pandora-kernel.git pkt_sched: Add lockdep annotation for qdisc locks Qdisc locks are initialized in the same function, qdisc_alloc(), so lockdep can't distinguish tx qdisc lock from rx and reports "possible recursive locking detected" when both these locks are taken eg. while using act_mirred with ifb. This looks like a false positive. Anyway, after this patch these locks will be reported more exactly. Reported-by: Denys Fedoryshchenko Signed-off-by: Jarek Poplawski Signed-off-by: David S. Miller --- Reading git-diff-tree failed