summaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-05-25 01:40:44 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:03 -0400
commit1de3fc12ea085690547a54b6efa01c7348f1cebd (patch)
treeea865786120cfcefac563c54693fef8d3d718f10 /fs/nfs/inode.c
parent128e6ced247cda88f96fa9f2e4ba8b2c4a681560 (diff)
downloadblackbird-op-linux-1de3fc12ea085690547a54b6efa01c7348f1cebd.tar.gz
blackbird-op-linux-1de3fc12ea085690547a54b6efa01c7348f1cebd.zip
NFS: Clean up and fix page zeroing when we have short reads
The code that is supposed to zero the uninitialised partial pages when the server returns a short read is currently broken: it looks at the nfs_page wb_pgbase and wb_bytes fields instead of the equivalent nfs_read_data values when deciding where to start truncating the page. Also ensure that we are more careful about setting PG_uptodate before retrying a short read: the retry will change the nfs_read_data args.pgbase and args.count. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud