Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373403
b: refs/heads/master
c: 25d71cb
h: refs/heads/master
i:
  373401: 8f3d1c8
  373399: a5fa9e2
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed May 2, 2013
1 parent a3e0585 commit 6204401
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: ef4859d6479d19bcc65c3156cf3b7dd747355c29
refs/heads/master: 25d71cb92d8eb48df9cbd8cc4bb28e88ee8e88d9
2 changes: 1 addition & 1 deletion trunk/fs/ceph/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ static int ceph_writepages_start(struct address_space *mapping,
}

/* submit the write */
offset = req->r_data_out.pages[0]->index << PAGE_CACHE_SHIFT;
offset = page_offset(req->r_data_out.pages[0]);
len = min((snap_size ? snap_size : i_size_read(inode)) - offset,
(u64)locked_pages << PAGE_CACHE_SHIFT);
dout("writepages got %d pages at %llu~%llu\n",
Expand Down

0 comments on commit 6204401

Please sign in to comment.