]> Pileus Git - ~andy/linux/commit
GFS2: Remove bd_list_tr
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 16 Apr 2012 15:40:56 +0000 (16:40 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 24 Apr 2012 15:44:36 +0000 (16:44 +0100)
commitc50b91c4bd511dfe844e2aa7be429b6b88406353
tree0a9584ec238036b599bb717db5bd1a7df5c616ca
parentdad30e9031c5927c30b402f73ac57ffbe09dc9ee
GFS2: Remove bd_list_tr

This is another clean up in the logging code. This per-transaction
list was largely unused. Its main function was to ensure that the
number of buffers in a transaction was correct, however that counter
was only used to check the number of buffers in the bd_list_tr, plus
an assert at the end of each transaction. With the assert now changed
to use the calculated buffer counts, we can remove both bd_list_tr and
its associated counter.

This should make the code easier to understand as well as shrinking
a couple of structures.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/aops.c
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/log.c
fs/gfs2/lops.c
fs/gfs2/meta_io.c
fs/gfs2/trans.c