Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211614
b: refs/heads/master
c: b8d0638
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Sage Weil committed Oct 20, 2010
1 parent e00cfb5 commit 72e811d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 240634e9b3a8ae2a9e2b7effeea3b9a5b30d68fb
refs/heads/master: b8d0638a98aa4a42ff322234b882487cd74e5c52
4 changes: 2 additions & 2 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,8 @@ static int rbd_req_sync_op(struct rbd_device *dev,

num_pages = calc_pages_for(ofs , len);
pages = ceph_alloc_page_vector(num_pages, GFP_KERNEL);
if (!pages)
return -ENOMEM;
if (IS_ERR(pages))
return PTR_ERR(pages);

if (!orig_ops) {
payload_len = (flags & CEPH_OSD_FLAG_WRITE ? len : 0);
Expand Down

0 comments on commit 72e811d

Please sign in to comment.