UBIFS: introduce a separate structure for budgeting info
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 29 Mar 2011 15:04:05 +0000 (18:04 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 13 May 2011 16:23:53 +0000 (19:23 +0300)
commitb137545c44fc0c80fb778abb0c582bda5601e8f8
treefb3da759a3c64587bee8bacf408cf774adb8b09a
parentcc64f774b4acd4954abe54f5919f50d78aba1e5f
UBIFS: introduce a separate structure for budgeting info

This patch separates out all the budgeting-related information
from 'struct ubifs_info' to 'struct ubifs_budg_info'. This way the
code looks a bit cleaner. However, the main driver for this is
that we want to save budgeting information and print it later,
so a separate data structure for this is helpful.

This patch is a preparation for the further debugging output
improvements.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/budget.c
fs/ubifs/commit.c
fs/ubifs/debug.c
fs/ubifs/dir.c
fs/ubifs/file.c
fs/ubifs/find.c
fs/ubifs/master.c
fs/ubifs/replay.c
fs/ubifs/super.c
fs/ubifs/tnc_commit.c
fs/ubifs/ubifs.h