Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188674
b: refs/heads/master
c: 6a4ef48
h: refs/heads/master
v: v3
  • Loading branch information
Yehuda Sadeh authored and Sage Weil committed Jan 7, 2010
1 parent 1b2bb07 commit d74e155
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 93cea5bebf91319095db866163a7e35c3e77d8f2
refs/heads/master: 6a4ef48103a78a46b80e07fcd8ac4edda0c7128f
8 changes: 4 additions & 4 deletions trunk/fs/ceph/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ static int copy_user_to_page_vector(struct page **pages,
return -EFAULT;
data += l - bad;
left -= l - bad;
if (po) {
po += l - bad;
if (po == PAGE_CACHE_SIZE)
po = 0;
po += l - bad;
if (po == PAGE_CACHE_SIZE) {
po = 0;
i++;
}
}
return len;
Expand Down

0 comments on commit d74e155

Please sign in to comment.