From: Alex Elder Date: Thu, 28 Feb 2013 01:05:28 +0000 (-0800) Subject: nbd: fix sparse warning X-Git-Tag: v3.9-rc1~46^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398eb08555b24049e0362fee92920982b283fd96;p=pandora-kernel.git nbd: fix sparse warning I just fixed this in "drivers/block/rbd.c" and I noticed that "drivers/block/nbd.c" has the same problem. Fix a warning issued by sparse by adding some lockdep annotations to indicate the queue lock gets dropped (because it's held when do_nbd_request() is called) and re-acquired within the function. Signed-off-by: Alex Elder Cc: Paul Clements Cc: Paul Clements Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed