1. 21 May, 2006 1 commit
    • David Woodhouse's avatar
      [JFFS2] Fix memory leak in scan code; improve comments. · 3560160a
      David Woodhouse authored
      If we had to allocate extra space for the summary node, we weren't
      correctly freeing it when jffs2_sum_scan_sumnode() returned nonzero --
      which is both the success and the failure case. Only when it returned
      zero, which means fall through to the full scan, were we correctly freeing
      the buffer.
      
      Document the meaning of those return codes while we're at it.
      Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      3560160a
  2. 20 May, 2006 9 commits
  3. 19 May, 2006 1 commit
  4. 18 May, 2006 2 commits
    • David Woodhouse's avatar
      [JFFS2] Support new device nodes · aef9ab47
      David Woodhouse authored
      Device node major/minor numbers are just stored in the payload of a single
      data node. Just extend that to 4 bytes and use new_encode_dev() for it.
      
      We only use the 4-byte format if we _need_ to, if !old_valid_dev(foo).
      This preserves backwards compatibility with older code as much as
      possible. If we do make devices with major or minor numbers above 255, and
      then mount the file system with the old code, it'll just read the first
      two bytes and get the numbers wrong. If it comes to garbage-collect it,
      it'll then write back those wrong numbers. But that's about the best we
      can expect.
      Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      aef9ab47
    • KaiGai Kohei's avatar
      Merge git://git.infradead.org/mtd-2.6 · 20a92fc7
      KaiGai Kohei authored
      20a92fc7
  5. 17 May, 2006 11 commits
  6. 16 May, 2006 10 commits
  7. 15 May, 2006 6 commits