diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-29 17:19:50 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-13 18:23:53 +0200 |
commit | 8ff83089f8bcbd9a2e898b68f1a46487c8b6e38c (patch) | |
tree | 36b286946894a4b797d850cca67603cac89ec1f2 /fs/ubifs/super.c | |
parent | UBIFS: introduce a separate structure for budgeting info (diff) | |
download | linux-8ff83089f8bcbd9a2e898b68f1a46487c8b6e38c.tar.xz linux-8ff83089f8bcbd9a2e898b68f1a46487c8b6e38c.zip |
UBIFS: simplify dbg_dump_budg calling conventions
The current 'dbg_dump_budg()' calling convention is that the
'c->space_lock' spinlock is held. However, none of the callers
actually use it from contects which have 'c->space_lock' locked,
so all callers have to explicitely lock and unlock the spinlock.
This is not very sensible convention. This patch changes it and
makes 'dbg_dump_budg()' lock the spinlock instead of imposing this
to the callers. This simplifies the code a little.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/super.c')
0 files changed, 0 insertions, 0 deletions