summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-18 23:08:05 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-19 23:18:57 +0200
commit61e930a904966cc37e0a3404276f0b73037e57ca (patch)
tree65553920bd6a471c2bae5a35ed3b4cee8bdf1258 /README
parentMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff)
downloadlinux-61e930a904966cc37e0a3404276f0b73037e57ca.tar.xz
linux-61e930a904966cc37e0a3404276f0b73037e57ca.zip
NFS: Fix a writeback race...
This patch fixes a regression that was introduced by commit 44dd151d5c21234cc534c47d7382f5c28c3143cd We cannot zero the user page in nfs_mark_uptodate() any more, since a) We'd be modifying the page without holding the page lock b) We can race with other updates of the page, most notably because of the call to nfs_wb_page() in nfs_writepage_setup(). Instead, we do the zeroing in nfs_update_request() if we see that we're creating a request that might potentially be marked as up to date. Thanks to Olivier Paquet for reporting the bug and providing a test-case. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions