>From Jeff Layton <jlay...@redhat.com>:

Jeff Layton has uploaded this change for review. ( 
https://review.gerrithub.io/402571


Change subject: RADOS_KV: make rados_kv_traverse callback more generic
......................................................................

RADOS_KV: make rados_kv_traverse callback more generic

We have a struct to package all the arguments, but then we pass all of
the arguments individually. Have the rados_kv_traverse callback take a
void pointer and then just have the callback cast it to the right sort
of struct to get the arguments.

While we're in there, also get rid of the useless pop_args_t typedef.

This is mainly just a cleanup to untangle the API a bit, but it also
allows us to potentially pass new and different sorts of callbacks to
rados_kv_traverse.

Change-Id: Ib9141a79313982577a41b831630d4166740c1a86
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/SAL/recovery/recovery_rados.h
M src/SAL/recovery/recovery_rados_kv.c
M src/SAL/recovery/recovery_rados_ng.c
3 files changed, 18 insertions(+), 20 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/71/402571/1
--
To view, visit https://review.gerrithub.io/402571
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9141a79313982577a41b831630d4166740c1a86
Gerrit-Change-Number: 402571
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to