1. 19 Jan, 2004 6 commits
    • Andrew Morton's avatar
      [PATCH] bdev: open() changes · a1864a75
      Andrew Morton authored
      The first of a series which move us toward blockdev hotplug support.  After
      these we have achieved the following:
      
      a) For "normal" (not bdevfs) inodes of block devices we never look at
         ->i_mapping.
      
      b) For the same inodes we only look at ->i_bdev in bd_acquire() where it's
         used only as "here's what we'd found the last time" sort of cached value.
         If it's NULL, we just recalculate it.
      
      c) Lots of messy expressions had been trimmed down, while we are at it.
      
      (a) and (b) allow us to start doing proper block hotplug - we can destroy the
      association between inode and bdev at any time, unhash bdev in question and
      have new open() do everything from scratch, without waiting for old opened
      files to close.  The goal is to be able to say "revoke everything over that
      gendisk"/"revoke that partition" and have it do the right thing.
      
      
      This patch:
      
      Where the old code called (block device) ->open(inode, file), use
      ->open(inode->i_bdev->bd_inode, file).  Changes in drivers:
      
      * none to those that only used inode->i_bdev and inode->i_rdev in their
        ->open() (bdev->bd_inode->i_bdev == bdev, so we are OK)
      
      * floppy.c and floppy98.c used to call permission(inode, ...) in
        floppy_open().  Switched to permission(file->f_dentry->d_inode, ...)
      a1864a75
    • Andrew Morton's avatar
      [PATCH] loop: fix file refcount leak · 26dd5cfe
      Andrew Morton authored
      - Fix an error-path file refcount leak
      
      - Remove unnecessary get_file()/fput() pair.
      
      - Clean up error handling a little
      26dd5cfe
    • Andrew Morton's avatar
      [PATCH] loop: fix hard sector size · 9644d0d9
      Andrew Morton authored
      From: Ben Slusky <sluskyb@paranoiacs.org>
      
      We need to set the hardsect_size of the loop device to that of the real
      device.
      
      The loop device advertises a block size of 1024 even when configured over a
      cdrom.
      
      When burning a ext2 on a cd, and mounting it directly, I get:
      
      	blocksize=2048;
      
      when I losetup /dev/loop0 /dev/cdrom, and then try to mount, I get:
      
      blocksize=1024; and then misaligned transfer; this results in not being able
      to read the superblock.
      
      The loop device should be changed to export the same blocksize of the
      underlying device
      9644d0d9
    • Andrew Morton's avatar
      [PATCH] radeonfb line length fix · 59d997a5
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      Fix the calculation of screenpitch and line lengths.
      59d997a5
    • Andrew Morton's avatar
      [PATCH] kyrofb support · d2d4d371
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This patch adds support for the Kyro graphics boards (STG4000/PowerVR
      3/etc= .) to 2.6.  This is a direct port and substantial cleanup / rewrite
      of the 2.4 driver that's available in the sh64 tree at linux-sh.bkbits.net.
      
      Some of the overlay code and the STG4000 bits are still a bit ugly, so be
      forewarned.
      d2d4d371
    • Andrew Morton's avatar
      [PATCH] SH Merge · 43450275
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      Here's a rather large update for SH (this is a bit large mainly since a
      number of things have piled up, and Linus didn't want any of this during
      feature freeze time). All of these changes are specific to the SH platform,
      and as such, shouldn't effect any other platforms.
      43450275
  2. 18 Jan, 2004 5 commits
  3. 16 Jan, 2004 2 commits
    • Bjorn Helgaas's avatar
      [SERIAL] make ACPI serial module unload work · aa66974b
      Bjorn Helgaas authored
      Patch from Bjorn Helgaas
      
      This patch makes ACPI serial ports work right when the serial driver
      is built as a module.  Previously, loading worked fine, but we
      didn't clean up on module removal.
      aa66974b
    • Bjorn Helgaas's avatar
      [SERIAL] make HCDP dependent on serial console · b6bb73e1
      Bjorn Helgaas authored
      Patch from Bjorn Helgaas
      
      I propose the following HCDP Kconfig patch.  It makes HCDP
      selectable only when serial console has been selected.  One
      desirable side effect is that both are then available only
      when statically compiled in (i.e., not built as a module).
      
      The HCDP support doesn't actually depend on IA64, but I left
      that in for now because nobody else implements support for it
      and I don't want people confused by a selectable option that
      doesn't do anything.  Maybe a "depends on EFI" or something
      will be useful eventually.
      b6bb73e1
  4. 15 Jan, 2004 23 commits
  5. 14 Jan, 2004 4 commits