1. 12 12月, 2008 1 次提交
  2. 21 10月, 2008 3 次提交
  3. 09 10月, 2008 2 次提交
  4. 19 8月, 2008 1 次提交
    • A
      cdrom: handle TOC · bce31b67
      Alexander Inyukhin 提交于
      This patch should fix TOC handling for cdroms that can not play audio.  It
      extends commit af744e32 ("cdrom: don't
      check CDC_PLAY_AUDIO in cdrom_count_tracks()") with a safety check and
      non-audio ioctls support.
      
      Since CDC_PLAY_AUDIO flag was used not only to check ability to play audio
      but also to ensure that audio_ioctl was not NULL, all TOC-related
      operations had to use it.
      
      As far as I understand, now audio_ioctl is never NULL, so a sanity check
      during device registration should be sufficient.
      
      It was tested on Optiarc AD7203A device, that has no ability to play
      audio.
      
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Borislav Petkov <petkovbb@googlemail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      [bart: remove now unneeded ->audio_ioctl check (noticed by Borislav)]
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      bce31b67
  5. 06 8月, 2008 1 次提交
  6. 04 7月, 2008 1 次提交
  7. 29 4月, 2008 1 次提交
  8. 21 4月, 2008 6 次提交
  9. 04 3月, 2008 1 次提交
  10. 07 2月, 2008 1 次提交
  11. 02 2月, 2008 1 次提交
  12. 20 10月, 2007 1 次提交
  13. 19 10月, 2007 1 次提交
  14. 26 9月, 2007 1 次提交
  15. 24 7月, 2007 1 次提交
  16. 16 7月, 2007 1 次提交
  17. 10 7月, 2007 1 次提交
  18. 08 5月, 2007 1 次提交
  19. 15 2月, 2007 3 次提交
  20. 04 1月, 2007 1 次提交
  21. 19 12月, 2006 1 次提交
    • J
      [PATCH] Fixup blk_rq_unmap_user() API · 8e5cfc45
      Jens Axboe 提交于
      The blk_rq_unmap_user() API is not very nice. It expects the caller to
      know that rq->bio has to be reset to the original bio, and it will
      silently do nothing if that is not done. Instead make it explicit that
      we need to pass in the first bio, by expecting a bio argument.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      8e5cfc45
  22. 14 12月, 2006 1 次提交
    • R
      [PATCH] getting rid of all casts of k[cmz]alloc() calls · 5cbded58
      Robert P. J. Day 提交于
      Run this:
      
      	#!/bin/sh
      	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
      	  echo "De-casting $f..."
      	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
      	done
      
      And then go through and reinstate those cases where code is casting pointers
      to non-pointers.
      
      And then drop a few hunks which conflicted with outstanding work.
      
      Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Ian Kent <raven@themaw.net>
      Cc: Steven French <sfrench@us.ibm.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cbded58
  23. 01 12月, 2006 1 次提交
  24. 11 10月, 2006 1 次提交
  25. 04 10月, 2006 1 次提交
  26. 01 10月, 2006 1 次提交
    • J
      [PATCH] Split struct request ->flags into two parts · 4aff5e23
      Jens Axboe 提交于
      Right now ->flags is a bit of a mess: some are request types, and
      others are just modifiers. Clean this up by splitting it into
      ->cmd_type and ->cmd_flags. This allows introduction of generic
      Linux block message types, useful for sending generic Linux commands
      to block devices.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      4aff5e23
  27. 11 7月, 2006 1 次提交
  28. 01 7月, 2006 1 次提交
  29. 18 6月, 2006 1 次提交
    • J
      [PATCH] fix cdrom open · 16070428
      Jens Axboe 提交于
      Some time ago the cdrom open routine was changed so that we call the
      driver's open routine before checking to see if it is read only.  However,
      if we discovered that a read write open was not possible and the open
      flags required a writable open, we just returned -EROFS without calling
      the driver's release routine.   This seems to work for most cdrom drivers,
      but breaks the Powerpc iSeries virtual cdrom rather badly.
      
      This just inserts the release call in the error path to balance the call
      to "->open()" done by "open_for_data()".
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      16070428
  30. 23 3月, 2006 1 次提交