diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2014-02-22 01:55:33 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-02-24 23:49:12 +0400 |
commit | 022ef4feed0c648aeb72d0c8ad06d266de08f525 (patch) | |
tree | 03fd8c0fe847338bcf2772a469c9eaa1853d8a9d /fs/gfs2/gfs2.h | |
parent | d69a3c6561362a53d1be908ca343d899161d602c (diff) | |
download | linux-022ef4feed0c648aeb72d0c8ad06d266de08f525.tar.xz |
GFS2: Move log buffer accounting to transaction
Now we have a master transaction into which other transactions
are merged, the accounting can be done using this master
transaction. We no longer require the superblock fields which
were being used for this function.
In addition, this allows for a clean up in calc_reserved()
making it rather easier understand. Also, by reducing the
number of variables used to track the buffers being added
and removed from the journal, a number of error checks are
now no longer required.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/gfs2.h')
0 files changed, 0 insertions, 0 deletions