Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139646
b: refs/heads/master
c: 880fe76
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Apr 3, 2009
1 parent 8df1731 commit 497c19f
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 695f6ae0dcea3dd83bfbb9634ff067f780649ba8
refs/heads/master: 880fe76ee6f38eda82e9f3de9a7a206dfd1bab9d
7 changes: 6 additions & 1 deletion trunk/fs/hppfs/hppfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,12 @@ static ssize_t hppfs_read(struct file *file, char __user *buf, size_t count,
"errno = %d\n", err);
return err;
}
count = hppfs_read_file(hppfs->host_fd, buf, count);
err = hppfs_read_file(hppfs->host_fd, buf, count);
if (err < 0) {
printk(KERN_ERR "hppfs_read: read failed: %d\n", err);
return err;
}
count = err;
if (count > 0)
*ppos += count;
}
Expand Down

0 comments on commit 497c19f

Please sign in to comment.