NFS: Fix a race with the new commit code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Apr 2010 23:07:08 +0000 (19:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Apr 2010 23:08:17 +0000 (19:08 -0400)
commita6305ddb080fb483ca41ca56cacb6f96089f0c8e
tree82c41752da42726ad1d7ed27203acbf06892dbaa
parentb80c3cb628f0ebc241b02e38dd028969fb8026a2
NFS: Fix a race with the new commit code

This patch fixes a race which occurs due to the fact that we release the
PG_writeback flag while still holding the nfs_page locked.

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