[GFS2] Add writepages for GFS2 jdata
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 17 Oct 2007 08:04:24 +0000 (09:04 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:28 +0000 (08:07 +0000)
This patch resolves a lock ordering issue where we had been getting
a transaction lock in the wrong order with respect to the page lock.
By using writepages rather than just writepage, it is then possible
to start a transaction before locking the page, and thus matching the
locking order elsewhere in the code.

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

diff --cc fs/gfs2/log.c
Simple merge
Simple merge