Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188975
b: refs/heads/master
c: 61964eb
h: refs/heads/master
i:
  188973: f0712c9
  188971: b41c799
  188967: ccface7
  188959: df626b4
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Mar 24, 2010
1 parent 7ea6010 commit e889775
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: 47568d4c56677ede6e7ff7c8e4e0fd860a9c4372
refs/heads/master: 61964eba5c419ff710ac996c5ed3a84d5af7490f
2 changes: 2 additions & 0 deletions trunk/fs/read_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ ssize_t do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *pp
init_sync_kiocb(&kiocb, filp);
kiocb.ki_pos = *ppos;
kiocb.ki_left = len;
kiocb.ki_nbytes = len;

for (;;) {
ret = filp->f_op->aio_read(&kiocb, &iov, 1, kiocb.ki_pos);
Expand Down Expand Up @@ -313,6 +314,7 @@ ssize_t do_sync_write(struct file *filp, const char __user *buf, size_t len, lof
init_sync_kiocb(&kiocb, filp);
kiocb.ki_pos = *ppos;
kiocb.ki_left = len;
kiocb.ki_nbytes = len;

for (;;) {
ret = filp->f_op->aio_write(&kiocb, &iov, 1, kiocb.ki_pos);
Expand Down

0 comments on commit e889775

Please sign in to comment.