]> err.no Git - linux-2.6/commit
[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)
commitbf36a713169432643d4fc7eeb4e0ace96d791d26
tree2cb69c9716b9ee8c687ef807bb88d5e635db3462
parente7e36f143565d14950055c893cfaf4400ad64d34
[GFS2] Add gfs2_is_writeback()

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