NFS: Try to commit unstable writes in nfs_release_page()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Jan 2010 20:41:53 +0000 (15:41 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Jan 2010 20:41:53 +0000 (15:41 -0500)
commit82be934a59ff891cac598727e5a862ba2b9d1fac
tree7b5763df79774ef9a27aaf4901621fc8015b3e2e
parentc9edda7140ec6a22accf7f2f86da362dfbfd41fc
NFS: Try to commit unstable writes in nfs_release_page()

If someone calls nfs_release_page(), we presumably already know that the
page is clean, however it may be holding an unstable write.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/file.c