1. 20 Mar, 2006 2 commits
    • Trond Myklebust's avatar
      NFS: Avoid races between writebacks and truncation · cd52ed35
      Trond Myklebust authored
      
      
      Currently, there is no serialisation between NFS asynchronous writebacks
      and truncation at the page level due to the fact that nfs_sync_inode()
      cannot lock the pages that it is about to write out.
      
      This means that it is possible to be flushing out data (and calling something
      like set_page_writeback()) while the page cache is busy evicting the page.
      Oops...
      
      Use the hooks provided in try_to_release_page() to ensure that dirty pages
      are always written back to storage before we evict them.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      cd52ed35
    • Trond Myklebust's avatar
      NFS: Fix a busy inodes issue... · b92dccf6
      Trond Myklebust authored
      
      
      The nfs_open_context may live longer than the file descriptor that spawned
      it, so it needs to carry a reference to the vfsmount. If not, then
      generic_shutdown_super() may end up being called before reads and writes
      have been flushed out.
      
      Make a couple of functions static while we're at it...
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      b92dccf6
  2. 19 Mar, 2006 5 commits
    • Linus Torvalds's avatar
      Linux 2.6.16 · 7705a879
      Linus Torvalds authored
      7705a879
    • Andrea Arcangeli's avatar
      [PATCH] Remove obsolete CREDITS address · 2be1aaf9
      Andrea Arcangeli authored
      This address is going to be obsolete, so I should update it.
      2be1aaf9
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 46571909
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
        [MIPS] SB1: Check for -mno-sched-prolog if building corelis debug kernel.
        [MIPS] Sibyte: Fix race in sb1250_gettimeoffset().
        [MIPS] Sibyte: Fix interrupt timer off by one bug.
        [MIPS] Sibyte: Fix M_SCD_TIMER_INIT and M_SCD_TIMER_CNT wrong field width.
        [MIPS] Protect more of timer_interrupt() by xtime_lock.
        [MIPS] Work around bad code generation for <asm/io.h>.
        [MIPS] Simple patch to power off DBAU1200
        [MIPS] Fix DBAu1550 software power off.
        [MIPS] local_r4k_flush_cache_page fix
        [MIPS] SB1: Fix interrupt disable hazard.
        [MIPS] Get rid of the IP22-specific code in arclib.
        Update MAINTAINERS entry for MIPS.
      46571909
    • Michael Chan's avatar
      [TG3]: 40-bit DMA workaround part 2 · 4a29cc2e
      Michael Chan authored
      
      
      The 40-bit DMA workaround recently implemented for 5714, 5715, and
      5780 needs to be expanded because there may be other tg3 devices
      behind the EPB Express to PCIX bridge in the 5780 class device.
      
      For example, some 4-port card or mother board designs have 5704 behind
      the 5714.
      
      All devices behind the EPB require the 40-bit DMA workaround.
      
      Thanks to Chris Elmquist again for reporting the problem and testing
      the patch.
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4a29cc2e
    • Ralf Baechle DL5RB's avatar
      [AX.25]: Fix potencial memory hole. · c7c694d1
      Ralf Baechle DL5RB authored
      
      
      If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3
      (or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall
      through the switch statement without calling ax25_send_iframe() or any
      other function that would eventually free skbn thus leaking the packet.
      
      Fix by restricting the sysctl inferface to allow only actually supported
      AX.25 dialects.
      
      The system administration mistake needed for this to happen is rather
      unlikely, so this is an uncritical hole.
      
      Coverity #651.
      Signed-off-by: default avatarRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c7c694d1
  3. 18 Mar, 2006 15 commits
  4. 17 Mar, 2006 12 commits
  5. 16 Mar, 2006 5 commits
  6. 15 Mar, 2006 1 commit