1. 05 Feb, 2005 1 commit
    • Hugh Dickins's avatar
      [PATCH] tmpfs caused truncate BUG · dfceb6d6
      Hugh Dickins authored
      Just before removing truncate_complete_page's BUG_ON(page_mapped(page)),
      thought I'd recheck on a few filesystems.  The shame!  Easily triggered
      with tmpfs: not because of recent changes, but because shmem_nopage omitted
      the i_size_read from Andrea's careful truncate_count/i_size_read
      /cachelookup/truncate_count sequence.  For varying reasons, other users of
      shmem_getpage can't go beyond i_size, so just add it to shmem_nopage.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      dfceb6d6
  2. 04 Feb, 2005 37 commits
  3. 03 Feb, 2005 2 commits