]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] lockdep: annotate the BLKPG_DEL_PARTITION ioctl
authorArjan van de Ven <arjan@linux.intel.com>
Fri, 14 Jul 2006 07:24:12 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:53 +0000 (21:53 -0700)
commitd917ade7f6d3324f189c85902ef81dd18d497db2
treec836af2259cb55ebae060268c52b1d3f4773d819
parent8f27c09dee50615ffa33a1897f9056975563ad25
[PATCH] lockdep: annotate the BLKPG_DEL_PARTITION ioctl

The delete partition IOCTL takes the bd_mutex for both the disk and the
partition; these have an obvious hierarchical relationship and this patch
annotates this relationship for lockdep.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
block/ioctl.c