diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-04-14 19:11:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-14 21:46:48 -0700 |
commit | 60fa3f769f7651a60125a0f44e3ffe3246d7cf39 (patch) | |
tree | 1acbd0749726d8bddafab619e173874af0153c84 /fs/nfs/callback.c | |
parent | e1552e199857109d4b25b9163eff4646726eee3d (diff) |
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 <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs/callback.c')
0 files changed, 0 insertions, 0 deletions