NFS: Don't fail an O_DIRECT read/write if get_user_pages() returns pages
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 May 2007 14:22:20 +0000 (10:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:23 +0000 (23:40 -0400)
commitd9df8d6b38228afab519094048aa2c082b0b2cf4
tree7bbe92c2ac8e3eab2179cd194dccc8f30bf63df5
parent070ea60214c1894c9eec86ca9aa5dff57a5ab525
NFS: Don't fail an O_DIRECT read/write if get_user_pages() returns pages

There is no need to fail the entire O_DIRECT read/write just because
get_user_pages() returned fewer pages than we requested.

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