]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: do not set the page uptodate in xfs_writepage_map
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Jul 2018 05:25:58 +0000 (22:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:25:58 +0000 (22:25 -0700)
commitc357dd462efad48e0228210e557aa729ead847ce
tree9cfb3341ddbdbe33739349a2a1ed9e6c34ba9889
parent6c37acb3001ef692a7794681c24295f8dcbab417
xfs: do not set the page uptodate in xfs_writepage_map

We already track the page uptodate status based on the buffer uptodate
status, which is updated whenever reading or zeroing blocks.

This code has been there since commit a ptool commit in 2002, which
claims to:

    "merge" the 2.4 fsx fix for block size < page size to 2.5.  This needed
    major changes to actually fit.

and isn't present in other writepage implementations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c