1. 07 6月, 2007 2 次提交
  2. 05 6月, 2007 1 次提交
  3. 02 6月, 2007 1 次提交
  4. 01 6月, 2007 7 次提交
  5. 31 5月, 2007 4 次提交
  6. 29 5月, 2007 1 次提交
  7. 26 5月, 2007 6 次提交
  8. 24 5月, 2007 11 次提交
  9. 22 5月, 2007 4 次提交
    • J
      partitions/LDM: build fix · 72dd9ca5
      Jeff Garzik 提交于
      This from a "tested" patch...
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      Cc: Anton Altaparmakov <aia21@cantab.net>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      72dd9ca5
    • A
      LDM: Fix for Windows Vista dynamic disks · dde33348
      Anton Altaparmakov 提交于
      This fixes the LDM driver so that it works with Windows Vista dynamic
      disks which are subtly different to Windows 2000/XP ones.
      
      The patch was needed to get a Vista formatted dynamic disk to be
      recognized and parsed successfully.
      
      Thanks go to Chris Teachworth for the report and testing.
      
      Cc: Richard Russon <ldm@flatcap.org>
      Signed-off-by: NAnton Altaparmakov <aia21@cantab.net>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dde33348
    • A
      Detach sched.h from mm.h · e8edc6e0
      Alexey Dobriyan 提交于
      First thing mm.h does is including sched.h solely for can_do_mlock() inline
      function which has "current" dereference inside. By dealing with can_do_mlock()
      mm.h can be detached from sched.h which is good. See below, why.
      
      This patch
      a) removes unconditional inclusion of sched.h from mm.h
      b) makes can_do_mlock() normal function in mm/mlock.c
      c) exports can_do_mlock() to not break compilation
      d) adds sched.h inclusions back to files that were getting it indirectly.
      e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
         getting them indirectly
      
      Net result is:
      a) mm.h users would get less code to open, read, preprocess, parse, ... if
         they don't need sched.h
      b) sched.h stops being dependency for significant number of files:
         on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
         after patch it's only 3744 (-8.3%).
      
      Cross-compile tested on
      
      	all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
      	alpha alpha-up
      	arm
      	i386 i386-up i386-defconfig i386-allnoconfig
      	ia64 ia64-up
      	m68k
      	mips
      	parisc parisc-up
      	powerpc powerpc-up
      	s390 s390-up
      	sparc sparc-up
      	sparc64 sparc64-up
      	um-x86_64
      	x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfig
      
      as well as my two usual configs.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e8edc6e0
    • O
      Fix "fs: convert core functions to zero_user_page" · ff1be9ad
      OGAWA Hirofumi 提交于
      The bug was introduced by 01f2705d.
      It misses to convert the first argument, it should be "new_page".
      
      This became a cause of fatfs corruption.
      
      Cc: Nate Diller <nate.diller@gmail.com>
      Signed-off-by: NOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ff1be9ad
  10. 21 5月, 2007 1 次提交
  11. 20 5月, 2007 2 次提交
    • D
      [JFFS2] Fix potential memory leak of dead xattrs on unmount. · 2ad8ee71
      David Woodhouse 提交于
      An xattr_datum which ends up orphaned should be freed by the GC 
      thread. But if we umount before the GC thread is finished, or if we 
      mount read-only and the GC thread never runs, they might never be 
      freed. Clean them up during unmount, if there are any left.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      2ad8ee71
    • D
      [JFFS2] Fix BUG() caused by failing to discard xattrs on deleted files. · 8ae5d312
      David Woodhouse 提交于
      When we cannot mark nodes as obsolete, such as on NAND flash, we end up 
      having to delete inodes with !nlink in jffs2_build_remove_unlinked_inode().
      However, jffs2_build_xattr_subsystem() runs later than this, and will
      attach an xref to the dead inode. Then later when the last nodes of that
      dead inode are erased we hit a BUG() in jffs2_del_ino_cache() 
      because we're not supposed to get there with an xattr still attached to 
      the inode which is being killed.
      
      The simple fix is to refrain from attaching xattrs to inodes with zero 
      nlink, in jffs2_build_xattr_subsystem(). It's it's OK to trust nlink 
      here because the file system isn't actually mounted yet, so there's no 
      chance that a zero-nlink file could actually be alive still because 
      it's open.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      8ae5d312