Fixed Regression in NFS Direct I/O path
authorSteve Dickson <steved@redhat.com>
Thu, 28 Oct 2010 12:17:54 +0000 (08:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Oct 2010 15:14:05 +0000 (11:14 -0400)
commit568a810d7edd58bd505222dd1c7e48895532290b
treeb1ff2247dca234060e4a966e5f5ab969493a43e1
parent81280572ca6f54009edfa4deee563e8678784218
Fixed Regression in NFS Direct I/O path

A typo, introduced by commit f11ac8db, in the nfs_direct_write()
routine causes writes with O_DIRECT set to fail with a ENOMEM error.

Found-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c