Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320380
b: refs/heads/master
c: d67d4be
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed Jul 31, 2012
1 parent fc60f8a commit 4c61255
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 57cfc1060f35ac2345cb37ea474f9644ac5cfd75
refs/heads/master: d67d4be56a3ec8d07b1f29aab6095b363085b028
3 changes: 1 addition & 2 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,6 @@ static int rbd_header_add_snap(struct rbd_device *rbd_dev,
u64 new_snapid;
int ret;
void *data, *p, *e;
u64 ver;
struct ceph_mon_client *monc;

/* we should create a snapshot only if we're pointing at the head */
Expand All @@ -1693,7 +1692,7 @@ static int rbd_header_add_snap(struct rbd_device *rbd_dev,

ret = rbd_req_sync_exec(rbd_dev, rbd_dev->header_name,
"rbd", "snap_add",
data, p - data, &ver);
data, p - data, NULL);

kfree(data);

Expand Down

0 comments on commit 4c61255

Please sign in to comment.