[GFS2] Fix leak of gfs2_bufdata
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 18 Aug 2006 19:51:09 +0000 (15:51 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 18 Aug 2006 19:51:09 +0000 (15:51 -0400)
commit15d00c0b91ca776b51b5ab04f79ab35b06670d30
treea970b4f59086ecbf7d20ec9b2201cf26b8446019
parentfcc8abc8d4fcdbddc383091449f3696b411aa8fb
[GFS2] Fix leak of gfs2_bufdata

This fixes a memory leak of struct gfs2_bufdata and also some
problems in the ordered write handling code. It needs a bit
more testing, but I believe that the reference counting of
ordered write buffers should now be correct.

This is aimed at fixing Red Hat bugzilla: #201028 and #201082

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/lops.c
fs/gfs2/meta_io.c
fs/gfs2/ops_address.c
fs/gfs2/ops_super.c