]> err.no Git - linux-2.6/commit
[XFS] Implement ->page_mkwrite in XFS.
authorDavid Chinner <dgc@sgi.com>
Thu, 19 Jul 2007 06:28:17 +0000 (16:28 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Thu, 19 Jul 2007 09:51:21 +0000 (19:51 +1000)
commit4f57dbc6b5bae5a3978d429f45ac597ca7a3b8c6
tree58abc5d0f67b9ceaa7913dda1d7b23fc308adbe6
parent5417169026c3df151adf5a65eb061278b0a72e69
[XFS] Implement ->page_mkwrite in XFS.

Hook XFS up to ->page_mkwrite to ensure that we know about mmap pages
being written to. This allows use to do correct delayed allocation and
ENOSPC checking as well as remap unwritten extents so that they get
converted correctly during writeback. This is done via the generic
block_page_mkwrite code.

SGI-PV: 940392
SGI-Modid: xfs-linux-melb:xfs-kern:29149a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_file.c