NFS: use size_t type for holding rsize bytes in NFS O_DIRECT read path
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:29 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:29 +0000 (13:44 -0500)
commit5dd602f20688e08c85ac91e0451c4e6321ed25d7
treee89a89d68ec0fcdc6fd18570c0df9daa15e23902
parentd4cc948ba97980c55a308eab167a695109796456
NFS: use size_t type for holding rsize bytes in NFS O_DIRECT read path

size_t is used for holding byte counts, so use it for variables storing rsize.
Note that the write path will be updated as we add support for async
O_DIRECT writes.

Test plan:
Need to verify that existing comparisons against new size_t variables behave
correctly.

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