]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36cf732dcd591025aec65de51fb9a0f730d70292
treec7327131526e59b35f639af91dbea3075b20445e
parentc6a2b3059de1f0b7d5a72e296fd3e0bfaeb9ad43
nfs: fix race in nfs_dirty_request

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>
fs/nfs/write.c