projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba3bad
)
NFSv3: fix sync_retry in direct i/o NFS
author
Dirk Mueller
<dmueller@suse.com>
Wed, 1 Feb 2006 17:19:47 +0000
(12:19 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:52:25 +0000
(12:52 -0500)
Only do a sync_retry if the memcmp failed.
Signed-off-by: Dirk Mueller <dmueller@suse.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c
patch
|
blob
|
history
diff --git
a/fs/nfs/direct.c
b/fs/nfs/direct.c
index 10ae377e68ff2e0e3253a51ef411c040a3a89f7d..04ab2fc360e792404815e67ee44c3adb03510a25 100644
(file)
--- a/
fs/nfs/direct.c
+++ b/
fs/nfs/direct.c
@@
-481,7
+481,7
@@
retry:
if (wdata->verf.committed != NFS_FILE_SYNC) {
need_commit = 1;
if (memcmp(&first_verf.verifier, &wdata->verf.verifier,
- sizeof(first_verf.verifier)))
;
+ sizeof(first_verf.verifier)))
goto sync_retry;
}