Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74181
b: refs/heads/master
c: b9148c6
h: refs/heads/master
i:
  74179: 239cd31
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Nov 26, 2007
1 parent 5e9b50e commit 344717e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c216fd708e1a97431925ecffd6d1896cff61df0a
refs/heads/master: b9148c6b80d802dbc2a7530b29915a80432e50c7
2 changes: 2 additions & 0 deletions trunk/fs/nfs/direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,8 @@ ssize_t nfs_file_direct_write(struct kiocb *iocb, const struct iovec *iov,
retval = generic_write_checks(file, &pos, &count, 0);
if (retval)
goto out;
if (!count)
goto out; /* return 0 */

retval = -EINVAL;
if ((ssize_t) count < 0)
Expand Down

0 comments on commit 344717e

Please sign in to comment.