1. 25 Apr, 2007 5 commits
  2. 23 Apr, 2007 2 commits
    • David Woodhouse's avatar
      [JFFS2] Improve failure mode if inode checking leaves unchecked space. · 44b998e1
      David Woodhouse authored
      We should never find the unchecked size is non-zero after we've finished
      checking all inodes. If it happens, used to BUG(), leaving the alloc_sem
      held and deadlocking. Instead, just return -ENOSPC after complaining. The
      GC thread will die, but read-only operation should be able to continue and
      the file system should be unmountable.
      Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      44b998e1
    • David Woodhouse's avatar
      [JFFS2] Fix cross-endian build. · 566865a2
      David Woodhouse authored
      When compiling a LE-capable JFFS2 on PowerPC, wbuf.c fails to compile:
      
      fs/jffs2/wbuf.c:973: error: braced-group within expression allowed only inside a function
      fs/jffs2/wbuf.c:973: error: initializer element is not constant
      fs/jffs2/wbuf.c:973: error: (near initialization for ‘oob_cleanmarker.magic’)
      fs/jffs2/wbuf.c:974: error: braced-group within expression allowed only inside a function
      fs/jffs2/wbuf.c:974: error: initializer element is not constant
      fs/jffs2/wbuf.c:974: error: (near initialization for ‘oob_cleanmarker.nodetype’)
      fs/jffs2/wbuf.c:975: error: braced-group within expression allowed only inside a function
      fs/jffs2/wbuf.c:976: error: initializer element is not constant
      fs/jffs2/wbuf.c:976: error: (near initialization for ‘oob_cleanmarker.totlen’)
      
      Provide constant_cpu_to_je{16,32} functions, and use them for initialising the
      offending structure.
      Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      566865a2
  3. 22 Apr, 2007 1 commit
  4. 21 Apr, 2007 1 commit
  5. 19 Apr, 2007 2 commits
  6. 17 Apr, 2007 19 commits
  7. 02 Apr, 2007 3 commits
  8. 23 Mar, 2007 3 commits
  9. 10 Mar, 2007 4 commits