From: Chuck Lever Date: Sat, 19 May 2007 21:22:46 +0000 (-0400) Subject: NFS: Fix handful of compiler warnings in direct.c X-Git-Tag: v2.6.22-rc3~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749e146e01cf87ce3c1d6f6077b877471b04df5b;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed