From: Trond Myklebust Date: Sat, 14 Apr 2007 23:11:52 +0000 (-0400) Subject: NFS: Fix two bugs in the O_DIRECT write code X-Git-Tag: v2.6.21-rc7~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60fa3f769f7651a60125a0f44e3ffe3246d7cf39;p=pandora-kernel.git NFS: Fix two bugs in the O_DIRECT write code Do not flag an error if the COMMIT call fails and we decide to resend the writes. Let the resend flag the error if it fails. If a write has failed, then nfs_direct_write_result should not attempt to send a commit. It should just exit asap and return the error to the user. Signed-off-by: Trond Myklebust Cc: Chuck Lever Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed