1. 01 8月, 2008 1 次提交
  2. 13 10月, 2007 1 次提交
  3. 10 7月, 2007 1 次提交
  4. 25 4月, 2007 1 次提交
    • D
      [JFFS2] Tidy up licensing/copyright boilerplate. · c00c310e
      David Woodhouse 提交于
      In particular, remove the bit in the LICENCE file about contacting
      Red Hat for alternative arrangements. Their errant IS department broke
      that arrangement a long time ago -- the policy of collecting copyright
      assignments from contributors came to an end when the plug was pulled on
      the servers hosting the project, without notice or reason.
      
      We do still dual-license it for use with eCos, with the GPL+exception
      licence approved by the FSF as being GPL-compatible. It's just that nobody
      has the right to license it differently.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      c00c310e
  5. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  6. 10 1月, 2007 1 次提交
  7. 10 12月, 2006 1 次提交
  8. 17 9月, 2006 1 次提交
  9. 16 9月, 2006 1 次提交
  10. 27 6月, 2006 3 次提交
  11. 19 6月, 2006 1 次提交
  12. 30 5月, 2006 1 次提交
  13. 27 5月, 2006 1 次提交
  14. 25 5月, 2006 4 次提交
  15. 24 5月, 2006 1 次提交
    • D
      [JFFS2] Reduce visibility of raw_node_ref to upper layers of JFFS2 code. · 2f785402
      David Woodhouse 提交于
      As the first step towards eliminating the ref->next_phys member and saving
      memory by using an _array_ of struct jffs2_raw_node_ref per eraseblock,
      stop the write functions from allocating their own refs; have them just
      _reserve_ the appropriate number instead. Then jffs2_link_node_ref() can
      just fill them in.
      
      Use a linked list of pre-allocated refs in the superblock, for now. Once
      we switch to an array, it'll just be a case of extending that array.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      2f785402
  16. 22 5月, 2006 1 次提交
  17. 21 5月, 2006 8 次提交
  18. 20 5月, 2006 1 次提交
    • D
      [JFFS2] Optimise reading of eraseblock summary nodes · 9641b784
      David Woodhouse 提交于
      This improves the time to mount 512MiB of NAND flash on my OLPC prototype
      by about 4%. We used to read the last page of the eraseblock twice -- once
      to find the offset of the summary node, and again to actually _read_ the
      summary node. Now we read the last page only once, and read more only if
      we need to.
      
      We also don't allocate a new buffer just for the summary code -- we use
      the buffer which was already allocated for the scan. Better still, if the
      'buffer' for the scan is actually just a pointer directly into NOR flash,
      we use that too, avoiding the memcpy() which we used to do.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      9641b784
  19. 17 5月, 2006 1 次提交
  20. 13 5月, 2006 3 次提交
    • K
      [JFFS2][XATTR] Handling the duplicate JFFS2_NODETYPE_XATTR node cases. · c8708a92
      KaiGai Kohei 提交于
      When jffs2_sum_process_sum_data() found a JFFS2_NODETYPE_XATTR
      which has duplicate xid and older version, an error was returned
      without appropriate process.
      In the result, mounting filesystem is failed.
      
      This patch fix this problem. If jffs2_setup_xattr_datum() returned
      -EEXIST, the caller marks this node as DIRTY_SPACE().
      
      [1/2] jffs2-xattr-v5.2-01-fix-duplicate-xdatum.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      c8708a92
    • K
      [JFFS2][XATTR] Remove 'struct list_head ilist' from jffs2_inode_cache. · 8f2b6f49
      KaiGai Kohei 提交于
      This patch can reduce 4-byte of memory usage per inode_cache.
      
      [4/10] jffs2-xattr-v5.1-04-remove_ilist_from_ic.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      8f2b6f49
    • 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
  21. 12 5月, 2006 1 次提交
  22. 12 4月, 2006 1 次提交
  23. 07 11月, 2005 4 次提交