NFS: Don't use ClearPageUptodate() when writeback fails
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Feb 2007 19:07:15 +0000 (11:07 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 13 Feb 2007 06:40:38 +0000 (22:40 -0800)
commita301b777714087ea1d63dbec0173a13d416cd7a9
treeccf5e747d0411c7af15279c66389ad4e1155ef04
parentb0c4fddca2bc3967381b728732a8850de35e1b20
NFS: Don't use ClearPageUptodate() when writeback fails

ClearPageUptodate() will just cause races here. What we really want to do
is to invalidate the page cache.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c