diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-06-24 09:45:48 +1000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 13:16:40 -0500 |
commit | 89f3b363967a958e756a549c8747c1fb9c930c1a (patch) | |
tree | 445282b1c9de68e6b209444317c2fee3b2e5f095 /fs/read_write.h | |
parent | 3d9b02e3c76531687ab5314e0edf266256f13c2d (diff) |
xfs: simplify xfs_vm_releasepage
Currently the xfs releasepage implementation has code to deal with converting
delayed allocated and unwritten space. But we never get called for those as
we always convert delayed and unwritten space when cleaning a page, or drop
the state from the buffers in block_invalidatepage. We still keep a WARN_ON
on those cases for now, but remove all the case dealing with it, which allows
to fold xfs_page_state_convert into xfs_vm_writepage and remove the !startio
case from the whole writeback path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/read_write.h')
0 files changed, 0 insertions, 0 deletions