1. 18 2月, 2009 1 次提交
  2. 01 1月, 2009 3 次提交
  3. 21 10月, 2008 2 次提交
    • A
      [PATCH] switch mmc · a5a1561f
      Al Viro 提交于
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      a5a1561f
    • A
      [PATCH] beginning of methods conversion · d4430d62
      Al Viro 提交于
      To keep the size of changesets sane we split the switch by drivers;
      to keep the damn thing bisectable we do the following:
      	1) rename the affected methods, add ones with correct
      prototypes, make (few) callers handle both.  That's this changeset.
      	2) for each driver convert to new methods.  *ALL* drivers
      are converted in this series.
      	3) kill the old (renamed) methods.
      
      Note that it _is_ a flagday; all in-tree drivers are converted and by the
      end of this series no trace of old methods remain.  The only reason why
      we do that this way is to keep the damn thing bisectable and allow per-driver
      debugging if anything goes wrong.
      
      New methods:
      	open(bdev, mode)
      	release(disk, mode)
      	ioctl(bdev, mode, cmd, arg)		/* Called without BKL */
      	compat_ioctl(bdev, mode, cmd, arg)
      	locked_ioctl(bdev, mode, cmd, arg)	/* Called with BKL, legacy */
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      d4430d62
  4. 15 10月, 2008 1 次提交
  5. 12 10月, 2008 6 次提交
  6. 09 10月, 2008 1 次提交
    • T
      block: don't depend on consecutive minor space · f331c029
      Tejun Heo 提交于
      * Implement disk_devt() and part_devt() and use them to directly
        access devt instead of computing it from ->major and ->first_minor.
      
        Note that all references to ->major and ->first_minor outside of
        block layer is used to determine devt of the disk (the part0) and as
        ->major and ->first_minor will continue to represent devt for the
        disk, converting these users aren't strictly necessary.  However,
        convert them for consistency.
      
      * Implement disk_max_parts() to avoid directly deferencing
        genhd->minors.
      
      * Update bdget_disk() such that it doesn't assume consecutive minor
        space.
      
      * Move devt computation from register_disk() to add_disk() and make it
        the only one (all other usages use the initially determined value).
      
      These changes clean up the code and will help disk->part dereference
      fix and extended block device numbers.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      f331c029
  7. 04 10月, 2008 1 次提交
  8. 20 9月, 2008 2 次提交
  9. 06 9月, 2008 1 次提交
  10. 02 8月, 2008 2 次提交
  11. 23 7月, 2008 4 次提交
  12. 15 7月, 2008 6 次提交
  13. 06 6月, 2008 1 次提交
  14. 15 5月, 2008 1 次提交
  15. 28 1月, 2008 1 次提交
  16. 30 11月, 2007 1 次提交
  17. 27 11月, 2007 1 次提交
  18. 22 11月, 2007 2 次提交
  19. 08 11月, 2007 1 次提交
  20. 23 10月, 2007 1 次提交
  21. 16 10月, 2007 1 次提交