Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331636
b: refs/heads/master
c: 7698f2f
h: refs/heads/master
v: v3
  • Loading branch information
Iulius Curt authored and Alex Elder committed Oct 1, 2012
1 parent c759b3c commit 61ce2e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 290e33593d76d1cebf873da50e036559c4820af9
refs/heads/master: 7698f2f5e0d7b7a062213fa970b7c4e121adf38e
6 changes: 3 additions & 3 deletions trunk/net/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ static void handle_poolop_reply(struct ceph_mon_client *monc,
/*
* Do a synchronous pool op.
*/
int ceph_monc_do_poolop(struct ceph_mon_client *monc, u32 op,
static int do_poolop(struct ceph_mon_client *monc, u32 op,
u32 pool, u64 snapid,
char *buf, int len)
{
Expand Down Expand Up @@ -687,7 +687,7 @@ int ceph_monc_do_poolop(struct ceph_mon_client *monc, u32 op,
int ceph_monc_create_snapid(struct ceph_mon_client *monc,
u32 pool, u64 *snapid)
{
return ceph_monc_do_poolop(monc, POOL_OP_CREATE_UNMANAGED_SNAP,
return do_poolop(monc, POOL_OP_CREATE_UNMANAGED_SNAP,
pool, 0, (char *)snapid, sizeof(*snapid));

}
Expand All @@ -696,7 +696,7 @@ EXPORT_SYMBOL(ceph_monc_create_snapid);
int ceph_monc_delete_snapid(struct ceph_mon_client *monc,
u32 pool, u64 snapid)
{
return ceph_monc_do_poolop(monc, POOL_OP_CREATE_UNMANAGED_SNAP,
return do_poolop(monc, POOL_OP_CREATE_UNMANAGED_SNAP,
pool, snapid, 0, 0);

}
Expand Down

0 comments on commit 61ce2e5

Please sign in to comment.