]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
UBIFS: fix budgeting calculations
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 18 Jul 2008 15:54:29 +0000 (18:54 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:20:05 +0000 (11:20 +0300)
commit182854b46f9feb6f1b03abe747bb2beeebf2adb0
treef00db92038f044a3b817799cfd7dd5d5a322d584
parentce769caa50a3fc835b4fc1a6e1463ada127a2e8a
UBIFS: fix budgeting calculations

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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/budget.c
fs/ubifs/dir.c