1. 19 12月, 2006 1 次提交
  2. 27 6月, 2006 2 次提交
  3. 24 5月, 2006 2 次提交
  4. 23 5月, 2006 1 次提交
  5. 22 5月, 2006 1 次提交
  6. 21 5月, 2006 2 次提交
  7. 19 5月, 2006 1 次提交
    • D
      [JFFS2] Support new device nodes · aef9ab47
      David Woodhouse 提交于
      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: NDavid Woodhouse <dwmw2@infradead.org>
      aef9ab47
  8. 13 5月, 2006 2 次提交
    • K
      [JFFS2][XATTR] Remove jffs2_garbage_collect_xattr(c, ic) · 084702e0
      KaiGai Kohei 提交于
      Remove jffs2_garbage_collect_xattr(c, ic).
      jffs2_garbage_collect_xattr_datum/ref() are called from gc.c directly.
      
      In original implementation, jffs2_garbage_collect_xattr(c, ic) returns
      with holding a spinlock if 'ic' is inode_cache. But it returns after
      releasing a spinlock if 'ic' is xattr_datum/ref.
      It looks so confusable behavior. Thus, this patch makes caller manage
      locking/unlocking.
      
      [5/10] jffs2-xattr-v5.1-05-update_xattr_gc.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      084702e0
    • K
      [JFFS2][XATTR] XATTR support on JFFS2 (version. 5) · aa98d7cf
      KaiGai Kohei 提交于
      This attached patches provide xattr support including POSIX-ACL and
      SELinux support on JFFS2 (version.5).
      
      There are some significant differences from previous version posted
      at last December.
      The biggest change is addition of EBS(Erase Block Summary) support.
      Currently, both kernel and usermode utility (sumtool) can recognize
      xattr nodes which have JFFS2_NODETYPE_XATTR/_XREF nodetype.
      
      In addition, some bugs are fixed.
      - A potential race condition was fixed.
      - Unexpected fail when updating a xattr by same name/value pair was fixed.
      - A bug when removing xattr name/value pair was fixed.
      
      The fundamental structures (such as using two new nodetypes and exclusion
      mechanism by rwsem) are unchanged. But most of implementation were reviewed
      and updated if necessary.
      Espacially, we had to change several internal implementations related to
      load_xattr_datum() to avoid a potential race condition.
      
      [1/2] xattr_on_jffs2.kernel.version-5.patch
      [2/2] xattr_on_jffs2.utils.version-5.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      aa98d7cf
  9. 17 4月, 2006 1 次提交
    • D
      [JFFS2] Fix race in post-mount node checking · d96fb997
      David Woodhouse 提交于
      For a while now, we've postponed CRC-checking of data nodes to be done
      by the GC thread, instead of being done while the user is waiting for
      mount to finish. The GC thread would iterate through all the inodes on
      the system and check each of their data nodes. It would skip over inodes
      which had already been used or were already being read in by
      read_inode(), because their data nodes would have been examined anyway.
      
      However, we could sometimes reach the end of the for-each-inode loop and
      still have some unchecked space left, if an inode we'd skipped was
      _still_ in the process of being read. This fixes that race by actually
      waiting for read_inode() to finish rather than just moving on.
      
      Thanks to Ladislav Michl for coming up with a reproducible test case and
      helping to track it down.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      d96fb997
  10. 07 11月, 2005 4 次提交
  11. 06 11月, 2005 2 次提交
  12. 23 5月, 2005 4 次提交
  13. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4