Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320359
b: refs/heads/master
c: 7f0a24d
h: refs/heads/master
i:
  320357: b58dc9e
  320355: 1db1a95
  320351: 1414831
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed Jul 31, 2012
1 parent bcc463b commit 6fd7286
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 4cb162508afade6d24d58e30be2bbaed80cf84d5
refs/heads/master: 7f0a24d8552db422640e810414c43579bb3d9fb9
7 changes: 3 additions & 4 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,8 +1186,7 @@ static int rbd_req_sync_read(struct rbd_device *rbd_dev,
*/
static int rbd_req_sync_notify_ack(struct rbd_device *rbd_dev,
u64 ver,
u64 notify_id,
const char *object_name)
u64 notify_id)
{
struct ceph_osd_req_op *ops;
int ret;
Expand All @@ -1201,7 +1200,7 @@ static int rbd_req_sync_notify_ack(struct rbd_device *rbd_dev,
ops[0].watch.flag = 0;

ret = rbd_do_request(NULL, rbd_dev, NULL, CEPH_NOSNAP,
object_name, 0, 0, NULL,
rbd_dev->header_name, 0, 0, NULL,
NULL, 0,
CEPH_OSD_FLAG_READ,
ops,
Expand Down Expand Up @@ -1232,7 +1231,7 @@ static void rbd_watch_cb(u64 ver, u64 notify_id, u8 opcode, void *data)
pr_warning(RBD_DRV_NAME "%d got notification but failed to "
" update snaps: %d\n", rbd_dev->major, rc);

rbd_req_sync_notify_ack(rbd_dev, hver, notify_id, rbd_dev->header_name);
rbd_req_sync_notify_ack(rbd_dev, hver, notify_id);
}

/*
Expand Down

0 comments on commit 6fd7286

Please sign in to comment.