Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209659
b: refs/heads/master
c: 0702099
h: refs/heads/master
i:
  209657: c18ec7e
  209655: d65054c
v: v3
  • Loading branch information
J. R. Okajima authored and Trond Myklebust committed Aug 11, 2010
1 parent 3993516 commit e492235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 15cdc644b268a9a9ce73ce0b153129222c254b7b
refs/heads/master: 0702099bd86c33c2dcdbd3963433a61f3f503901
2 changes: 1 addition & 1 deletion trunk/fs/nfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ nfs_file_fsync(struct file *file, int datasync)
have_error |= test_bit(NFS_CONTEXT_ERROR_WRITE, &ctx->flags);
if (have_error)
ret = xchg(&ctx->error, 0);
if (!ret)
if (!ret && status < 0)
ret = status;
return ret;
}
Expand Down

0 comments on commit e492235

Please sign in to comment.