nfs: fix race in nfs_dirty_request
authorFred Isaman <iisaman@citi.umich.edu>
Thu, 1 May 2008 17:03:22 +0000 (20:03 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 16 May 2008 16:43:23 +0000 (09:43 -0700)
When called from nfs_flush_incompatible, the req is not locked, so
req->wb_page might be set to NULL before it is used by PageWriteback.

Signed-off-by: Fred Isaman <iisaman@citi.umich.edu>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found