From 61ce2e55668171be211f8e053eb04bbe2469f2b0 Mon Sep 17 00:00:00 2001 From: Iulius Curt Date: Thu, 23 Aug 2012 15:14:29 +0300 Subject: [PATCH] --- yaml --- r: 331636 b: refs/heads/master c: 7698f2f5e0d7b7a062213fa970b7c4e121adf38e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ceph/mon_client.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 0f4beeec7002..e7cec3585f70 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 290e33593d76d1cebf873da50e036559c4820af9 +refs/heads/master: 7698f2f5e0d7b7a062213fa970b7c4e121adf38e diff --git a/trunk/net/ceph/mon_client.c b/trunk/net/ceph/mon_client.c index e98f6070b5ae..812eb3b46c1f 100644 --- a/trunk/net/ceph/mon_client.c +++ b/trunk/net/ceph/mon_client.c @@ -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) { @@ -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)); } @@ -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); }