[GFS2] Add gfs2_is_writeback()
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 17 Oct 2007 07:35:19 +0000 (08:35 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:21 +0000 (08:07 +0000)
This adds a function "gfs2_is_writeback()" along the lines of the
existing "gfs2_is_jdata()" in order to clean up the code and make
the various tests for the inode mode more obvious. It also fixes
the PageChecked() logic where we were resetting the flag too early
in the case of an error path.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/incore.h
fs/gfs2/inode.h
fs/gfs2/ops_address.c

diff --cc fs/gfs2/bmap.c
Simple merge
Simple merge
diff --cc fs/gfs2/inode.h
Simple merge
Simple merge