]> git.baikalelectronics.ru Git - kernel.git/commit
jbd: eliminate duplicated code in revocation table init/destroy functions
authorDuane Griffin <duaneg@dghda.com>
Fri, 25 Jul 2008 08:46:20 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:32 +0000 (10:53 -0700)
commit9528a9b096ba3518b1fcccbfe0ec33adfdf67716
treedee0ba9ed8102f5d0bcadc1e93ca7affe2414e8f
parent2eda6bacc3868d2ed6e99a756f6461da6cfd2dda
jbd: eliminate duplicated code in revocation table init/destroy functions

The revocation table initialisation/destruction code is repeated for each
of the two revocation tables stored in the journal.  Refactoring the
duplicated code into functions is tidier, simplifies the logic in
initialisation in particular, and slightly reduces the code size.

There should not be any functional change.

Signed-off-by: Duane Griffin <duaneg@dghda.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/jbd/revoke.c