commit | 749e146e01cf87ce3c1d6f6077b877471b04df5b | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Sat May 19 17:22:46 2007 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu May 24 10:44:20 2007 -0400 |
tree | 86c694a9c6dd990e445eb7be38de43255d0336ed | |
parent | 7fe7f8487ae742239dd8c66596e2311c30d057d1 [diff] |
NFS: Fix handful of compiler warnings in direct.c 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>