[GFS2] Clean up invalidatepage/releasepage
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 16 Aug 2007 15:03:57 +0000 (16:03 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:55:29 +0000 (08:55 +0100)
commitbb3b0e3df5420fdf2c6bbb4417525c6d2ef55bbb
tree6eab0fa06b4dc9f9a8d62cedaa6879327966a20c
parent2d9a4bbf6d28673f4057682cc02d16bf288b4a35
[GFS2] Clean up invalidatepage/releasepage

This patch fixes some bugs relating to journaled data files by cleaning
up the gfs2_invalidatepage() and gfs2_releasepage() functions. We now
never block during gfs2_releasepage(), instead we always either release
or refuse to release depending on the status of the buffers.

This fixes Red Hat bugzillas #248969 and #252392.

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