Files
kernel_xiaomi_sm8250/include/linux
Ingo Molnar 663d440eaa [PATCH] lockdep: annotate blkdev nesting
Teach special (recursive) locking code to the lock validator.

Effects on non-lockdep kernels:

- the introduction of the following function variants:

  extern struct block_device *open_partition_by_devnum(dev_t, unsigned);

  extern int blkdev_put_partition(struct block_device *);

  static int
  blkdev_get_whole(struct block_device *bdev, mode_t mode, unsigned flags);

 which on non-lockdep are the same as open_by_devnum(), blkdev_put()
 and blkdev_get().

- a subclass parameter to do_open(). [unused on non-lockdep]

- a subclass parameter to __blkdev_put(), which is a new internal
  function for the main blkdev_put*() functions. [parameter unused
  on non-lockdep kernels, except for two sanity check WARN_ON()s]

these functions carry no semantical difference - they only express
object dependencies towards the lockdep subsystem.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-03 15:27:10 -07:00
..
2006-07-01 07:44:10 -04:00
2006-06-27 17:32:38 -07:00
2006-07-01 09:56:03 -07:00
2006-07-03 15:27:06 -07:00
2006-06-26 09:58:36 -07:00
2006-07-01 09:56:03 -07:00
2006-06-23 02:07:36 -07:00
2006-06-30 18:20:44 +02:00
2006-07-03 15:27:10 -07:00
2006-06-25 10:01:19 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-06-26 01:51:23 -04:00
2006-06-20 20:24:58 -07:00
2006-07-02 17:29:21 -07:00
2006-06-21 12:40:49 -07:00
2006-06-23 07:43:08 -07:00
2006-07-03 15:27:00 -07:00
2006-06-27 01:24:15 -04:00
2006-07-03 15:27:06 -07:00
2006-07-03 15:27:01 -07:00
2006-06-25 10:01:13 -07:00
2006-06-29 16:58:06 -07:00
2006-06-25 06:27:31 -04:00
2006-06-25 10:01:09 -07:00
2006-06-22 15:05:56 -07:00
2006-06-28 15:54:27 -07:00
2006-06-23 07:42:49 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:14 -07:00
2006-06-30 11:25:38 -07:00
2006-07-03 15:27:03 -07:00
2006-06-17 21:29:55 -07:00
2006-06-30 11:25:37 -07:00
2006-06-23 07:43:06 -07:00
2006-06-26 10:51:09 -07:00
2006-06-30 18:25:18 +02:00
2006-06-30 11:25:36 -07:00
2006-07-03 15:27:07 -07:00