NFS: Fix handful of compiler warnings in direct.c
authorChuck Lever <chuck.lever@oracle.com>
Sat, 19 May 2007 21:22:46 +0000 (17:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 May 2007 14:44:20 +0000 (10:44 -0400)
This patch fixes a couple of signage issues that were causing an Oops
when running the LTP diotest4 test. get_user_pages() returns a signed
error, hence we need to be careful when comparing with the unsigned
number of pages from data->npages.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found