1. 18 6月, 2006 2 次提交
    • J
      [PATCH] Fix missing ret assignment in __bio_map_user() error path · 99172157
      Jens Axboe 提交于
      If get_user_pages() returns less pages than what we asked for, we jump
      to out_unmap which will return ERR_PTR(ret).  But ret can contain a
      positive number just smaller than local_nr_pages, so be sure to set it
      to -EFAULT always.
      
      Problem found and diagnosed by Damien Le Moal <damien@sdl.hitachi.co.jp>
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      99172157
    • 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
  2. 15 6月, 2006 1 次提交
  3. 14 6月, 2006 6 次提交
  4. 13 6月, 2006 8 次提交
  5. 12 6月, 2006 12 次提交
  6. 11 6月, 2006 8 次提交
  7. 10 6月, 2006 3 次提交