]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Fix ordering of page disposal vs. glock_dq
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 8 Jan 2007 14:31:40 +0000 (14:31 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:36:24 +0000 (13:36 -0500)
commit49686f71060e342bce6644a5c69fbc6ad0e75a13
treeb0cb01ccb67d7e4d71a8d17051f53dae475bfc20
parent4edde74eedb8bc4c03adc3602b114b72a7ccd13f
[GFS2] Fix ordering of page disposal vs. glock_dq

In case of unlinked files with dirty pages GFS2 wasn't clearing
the pages in quite the right order. This patch clears the pages
earlier (before the qlock_dq) to avoid the situation that the
release of the glock results in attempting to write back data that
has already been deallocated.

This fixes Red Hat bugzilla: #220117

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