NFS: fix data_update accounting in NFS direct I/O path
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:35 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:35 +0000 (13:44 -0500)
commita37ec012d7fd352648c8455d3396ea24001efcd3
tree778182e20ada2cf1ce3a5507ab1eec96c16633b2
parent15ce4a0c1ce0d5e288398cb9e5493fd4e55e2025
NFS: fix data_update accounting in NFS direct I/O path

^C against "iozone -I" is hitting the assertion in nfs_clear_inode().

Test plan:
"iozone -i0 -I -a -c" against a slow server, then control C.  This should
not cause an oops.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c