[GFS2] Detach buf data during in-place writeback
commit0f8468c8bef3d04637c924e7bef20ca53018b319
authorBob Peterson <rpeterso@redhat.com>
Wed, 25 Jul 2007 15:06:22 +0000 (25 10:06 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:55:01 +0000 (10 08:55 +0100)
treefc4fa6fedb9fe4e704c8bedc749a0b90a39d0218
parentcee23c79d08c57bbbb9923703409af3b17518c58
[GFS2] Detach buf data during in-place writeback

This is patch 5 of 5 for bug #248176

Metadata corruption was occurring because page references weren't
being removed in all cases.  I previously added a function called
detach_bufdata, but I discovered there already WAS a function out
there to do the job.  It's called gfs2_meta_cache_flush.  So I added
a call to that to remove the page references.

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