aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/budget.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-12 11:13:17 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-23 05:22:58 -0500
commit21a60258976227daaf7a4c35e96c3d77d4988b15 (patch)
tree73c9de022a0a947ca4f5e8d8edfdbd8321270464 /fs/ubifs/budget.c
parent24fa9e9438b263600737c839b36543981d87d65b (diff)
UBIFS: improve budgeting dump
Dump available space calculated by budgeting subsystem. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/budget.c')
-rw-r--r--fs/ubifs/budget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/budget.c b/fs/ubifs/budget.c
index 1a4973e10664..d5a65037e172 100644
--- a/fs/ubifs/budget.c
+++ b/fs/ubifs/budget.c
@@ -713,8 +713,8 @@ void ubifs_release_dirty_inode_budget(struct ubifs_info *c,
713 * (e.g., via the 'statfs()' call) reports that it has N bytes available, they 713 * (e.g., via the 'statfs()' call) reports that it has N bytes available, they
714 * are able to write a file of size N. UBIFS attaches node headers to each data 714 * are able to write a file of size N. UBIFS attaches node headers to each data
715 * node and it has to write indexind nodes as well. This introduces additional 715 * node and it has to write indexind nodes as well. This introduces additional
716 * overhead, and UBIFS it has to report sligtly less free space to meet the 716 * overhead, and UBIFS has to report sligtly less free space to meet the above
717 * above expectetion. 717 * expectetions.
718 * 718 *
719 * This function assumes free space is made up of uncompressed data nodes and 719 * This function assumes free space is made up of uncompressed data nodes and
720 * full index nodes (one per data node, tripled because we always allow enough 720 * full index nodes (one per data node, tripled because we always allow enough