[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)
commitb8e7cbb65bcc99630e123422c6829ce3c0fcdf14
treea9f68259b90e9e65ea7f0369f448d580a8944f06
parent9ff8ec32e58875022447af619bec6e5aee7c77e4
[GFS2] Add writepages for GFS2 jdata

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