1. 13 8月, 2008 2 次提交
    • A
      UBIFS: align inode data to eight · dab4b4d2
      Artem Bityutskiy 提交于
      UBIFS aligns node lengths to 8, so budgeting has to do the
      same. Well, direntry, inode, and page budgets are already
      aligned, but not inode data budget (e.g., data in special
      devices or symlinks). Do this for inode data as well.
      Also, add corresponding debugging checks.
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      dab4b4d2
    • A
      UBIFS: fix budgeting calculations · 182854b4
      Artem Bityutskiy 提交于
      The 'ubifs_release_dirty_inode_budget()' was buggy and incorrectly
      freed the budget, which led to not freeing all dirty data budget.
      This patch fixes that.
      
      Also, this patch fixes ubifs_mkdir() which passed 1 in dirty_ino_d,
      which makes no sense. Well, it is harmless though.
      
      Also, add few more useful assertions. And improve few debugging
      messages.
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      182854b4
  2. 15 7月, 2008 1 次提交