NFS: Fix race in nfs_set_page_dirty
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 20 Apr 2007 20:12:50 +0000 (16:12 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 21 Apr 2007 05:56:30 +0000 (22:56 -0700)
commit2b82f190c81bf1524447c021df4e9ce8ef379bd5
tree3f4ebb8c0379715fe38897474856bdbab5750250
parent612c9384fd0486686699f7d49b774f0c7a79c511
NFS: Fix race in nfs_set_page_dirty

Protect nfs_set_page_dirty() against races with nfs_inode_add_request.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/write.c