git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1552e1
)
NFS: Fix two bugs in the O_DIRECT write code
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 14 Apr 2007 23:11:52 +0000
(19:11 -0400)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 15 Apr 2007 04:46:48 +0000
(21:46 -0700)
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 <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/direct.c
patch
|
blob
|
history
diff --cc
fs/nfs/direct.c
Simple merge