1. 03 Apr, 2002 17 commits
  2. 02 Apr, 2002 23 commits
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · 8cceac24
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      8cceac24
    • David S. Miller's avatar
      In tcp_v4_send_reset, use inet_sk to get at · c59141fa
      David S. Miller authored
      ttl of tcp_socket.
      c59141fa
    • Linus Torvalds's avatar
      update version and defconfig · ce4d9bee
      Linus Torvalds authored
      ce4d9bee
    • Alexander Viro's avatar
      [PATCH] brw_kiovec() converted to struct block_device * · dd696ac1
      Alexander Viro authored
      brw_kiovec() and ll_rw_kiovec() switched to struct block_device *.
      dd696ac1
    • Alexander Viro's avatar
      [PATCH] fsync_bdev() conversion · fa65ca01
      Alexander Viro authored
      Bunch of places converted from fsync_dev/invalidate_buffers to
      fsync_bdev/invalidate_bdev.
      fa65ca01
    • Alexander Viro's avatar
      [PATCH] restoring block size upon umount · c0b88a09
      Alexander Viro authored
      get_sb_bdev() stores original block size in ->s_old_blocksize and
      kill_block_super() restores it.
      
      This kills 99% of crap with "oh, I've mounted/umounted that device and
      its behaviour had changed" (remaining 1% can be dealt in pretty similar
      ways; ideally I'd like to see ioctls that get/set block size dead and
      gone).
      c0b88a09
    • Alexander Viro's avatar
      [PATCH] hfs compile fix · 0d9d0576
      Alexander Viro authored
      Fix typo
      0d9d0576
    • Alexander Viro's avatar
      [PATCH] set_blocksize() in JFS · b4839242
      Alexander Viro authored
      Use sb_set_blocksize() in JFS instead of trying to do it by hand.
      b4839242
    • Alexander Viro's avatar
      [PATCH] minixfs cleanups (4/4) · 07a9abc8
      Alexander Viro authored
      Clean up minix/bitmap.c
      07a9abc8
    • Alexander Viro's avatar
      [PATCH] minixfs cleanups (3/4) · ae99fb7c
      Alexander Viro authored
      Kill BKL in minix/itree* (similar to ext2 patches)
      ae99fb7c
    • Alexander Viro's avatar
      [PATCH] minixfs cleanups (2/4) · e8de6e05
      Alexander Viro authored
      Clean up the write_super-related code in minixfs
      e8de6e05
    • Alexander Viro's avatar
      [PATCH] minixfs cleanups (1/4) · a14bf037
      Alexander Viro authored
      Move minix-private stuff to fs/minix/minix.h.
      a14bf037
    • Alexander Viro's avatar
      [PATCH] conditional system call cleanup · d2d6a4f8
      Alexander Viro authored
      This version of sys_nfsservctl() fix hadn't made DaveM complain.
      d2d6a4f8
    • Alexander Viro's avatar
      [PATCH] romfs inode allocation · 85909403
      Alexander Viro authored
      Obvious romfs fix.
      85909403
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · 365f5347
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      365f5347
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · de466adf
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      de466adf
    • Andrew Morton's avatar
      [PATCH] ext2_fill_super breakage · 7048ea4d
      Andrew Morton authored
      In 2.5.7 there is a thinko in the allocation and initialisation
      of the fs-private superblock for ext2.  It's passing the wrong type
      to the sizeof operator (which of course gives the wrong size)
      when allocating and clearing the memory.
      
      Lesson for the day: this is one of the reasons why this idiom:
      
      	some_type *p;
      
      	p = malloc(sizeof(*p));
      	...
      	memset(p, 0, sizeof(*p));
      
      is preferable to
      
      	some_type *p;
      
      	p = malloc(sizeof(some_type));
      	...
      	memset(p, 0, sizeof(some_type));
      
      I checked the other filesystems.  They're OK (but idiomatically
      impure).  I've added a couple of defensive memsets where
      they were missing.
      7048ea4d
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 28a · 5be8243b
      Martin Dalecki authored
      - Apply Pavel Macheks suspend resume double resume fix.
      
      - Finally remove the busy field for ata_operations and replace it with
         MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT.
      
      - Fix ali15xx chipset support by removing initialization differences,
         apparently caused by mislead interpretation of the specs or a mismatch
         between the specification and reality.
      
      - Guard calls to ide_set_handler with checks to see whatever the previously
         installed IRQ handler already served it's purpose.
      
      - Convert timeout checks on poll_timeout to the time_before() interface.
      
      - Consolidate the two different IRQ handlers for multi mode PIO writes into
         one. The problems remain the same but at least now we will only have to
         tangle one single problem.
      5be8243b
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 27 · ff3c2cbb
      Martin Dalecki authored
      - Make for less terse error messages in ide-tape.c.
      
      - Replaced all timecomparisions done by hand with all the proper timer_after()
         commands.
      
      - Remove the drive niec1 mechanisms alltogether. There are several reasons for
         this:
      
         1. The code implementing it is nonintelliglible and therefore propably
         broken.
      
         2. If we have to invent somethig about sceduling drive IO, it should be done
         on the BIO level.
      
         3. We may in fact interleave with the IO sceduling on the upper layers and
         the results of two overlapping signal filters overlapped with each other can
         be disasterous to the overall throughput. (In fact they *are* most of the
         time.)
      
         4. It was not working if you had intermixed modes on different drives
         DMA versus PIO.
      
         5. Our goal is to have a driver which is able to share the badwidth
         properly and shouldn't needing this kind of "tuning".
      
      - Remove unused nice2 from disk struct.
      
      - Rename channel member of ata_channel to unit and device to dev to
         just prevent wrong interpretations. This prevents constructs like
         channel->channel...
      ff3c2cbb
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 26 · d1372f76
      Martin Dalecki authored
      - Mark all members of structures, which get jiffies assigned or involved in
         ugly timeout calculations with the prefix PADAM_  for easy spotting. This is
         Polish for "I'm falling down" or "This brings me to the knees" or slag
         comment for "What a sh..". Please be assured that it doesn't sound vulgar.
      
         Please grep for it to see immediately why this nomenclature is justified.
      
      - Rename hwifs_s to ata_channel and eliminate ide_hwifs_t as well as the HWIF
         macro. OK this step makes this patch rather big.
      d1372f76
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 25 · e07a6a66
      Martin Dalecki authored
      - Replace the task_io_reg_t with the simple u8. There is no need to obfuscate
         the code more then necessary.
      
      - kill some unnecessary type definitions out from hdreg.h.
      
      - Add proper attributes to register files in hdreg.h.
      
      - Don't use raw arrays for tfRegister and hobRegister in ide_task_s.  Use out
         nice global structures describing the fields in them.  This allows to kill
         the following defines:
      
           IDE_DATA_OFFSET
           IDE_FEATURE_OFFSET
           IDE_NSECTOR_OFFSET
           IDE_SECTOR_OFFSET
           IDE_LCYL_OFFSET
           IDE_HCYL_OFFSET
           IDE_SELECT_OFFSET
           IDE_COMMAND_OFFSET
      
         and many many others.
      
      - Please have a look at the following in pdc4030.c. It couldn't have worked!
         This has been fixed in one go with the above change:
      
         memcpy(args.hobRegister, NULL, sizeof(struct hd_drive_hob_hdr));
      
      - Kill the redundant *_REG_HOB definitions. They don't help readability in any
         way.
      e07a6a66
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 24 · 4772b236
      Martin Dalecki authored
      - Push BAD_DMA_DRIVE and GOOD_DMA_DRIVE to the ide-pmac.c file, since this is
         the only place where those get used.
      
      - Kill unused fields from the ide_task_s structure. In esp. we pass a task
         attached to a request and not the other way around!
      
      - Rename hwif field to channel in struct ide_drive_s.
      
      - Move the request queue to the level where proper serialization has to happen
         anyway - the channel structure.
      4772b236
    • Martin Dalecki's avatar
      [PATCH] 2.5.7 IDE 23 · 869cc357
      Martin Dalecki authored
      - Support for additional Promise controller id's (PDC20276).
      
      - Remove code duplication between do_rw_taskfile and do_taskfile.
         This will evolve into a more reasonable ata_command() function
         finally. The ata_taskfile function has far too many arguments, but
         I favour this over having two different code paths for getting
         actual data to the drive.
      869cc357