]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Small fixes to logging code
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 14:43:07 +0000 (15:43 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 14:43:07 +0000 (15:43 +0100)
commita0a24741cac414aba5918e9939afafa70c37f952
treeaee42799f08cff93d5d67d8093d8fe881978ed17
parentac90a2552500996c529d5f0ddc16a9bf60bf670d
[GFS2] Small fixes to logging code

This reverts part of an earlier patch which tried to reclaim
gfs2_bufdata structures too early and resulted in a "use after free"
case (this bit from me). Also a change to not write out log headers
unless we really need to (in the case of flushing nothing we don't need
a header) from Bob.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/log.c