]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
GFS2: Fix up jdata writepage/delete_inode
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 15 Oct 2008 08:46:39 +0000 (09:46 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Jan 2009 07:38:49 +0000 (07:38 +0000)
commit1bb7322fd0d5abdce396de51cbc5dbc489523018
treefb602151904bbfaa10dc671a059acce90011eca9
parentb276058371f5c2ad92f9f27373a72b219ed580ed
GFS2: Fix up jdata writepage/delete_inode

There is a bug in writepage and delete_inode which allows jdata files to
invalidate pages from the address space without being in a transaction at
the time. This causes problems in case the pages are in the journal. This
patch fixes that case and prevents the resulting oops.

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