fsloc.c: In function 'replicas_lookup': fsloc.c:149: warning: unused parameter 'key' Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- utils/mountd/cache.c | 2 +- utils/mountd/fsloc.c | 2 +- utils/mountd/fsloc.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index bf18a9a..5488056 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -600,7 +600,7 @@ static void write_fsloc(FILE *f, struct exportent *ep, char *path) if (ep->e_fslocmethod == FSLOC_NONE) return; - servers = replicas_lookup(ep->e_fslocmethod, ep->e_fslocdata, path); + servers = replicas_lookup(ep->e_fslocmethod, ep->e_fslocdata); if (!servers) return; qword_print(f, "fsloc"); diff --git a/utils/mountd/fsloc.c b/utils/mountd/fsloc.c index 5b094b0..e2add2d 100644 --- a/utils/mountd/fsloc.c +++ b/utils/mountd/fsloc.c @@ -146,7 +146,7 @@ static struct servers *method_list(char *data) } /* Returns appropriately filled struct servers, or NULL if had a problem */ -struct servers *replicas_lookup(int method, char *data, char *key) +struct servers *replicas_lookup(int method, char *data) { struct servers *sp=NULL; switch(method) { diff --git a/utils/mountd/fsloc.h b/utils/mountd/fsloc.h index 8296d1c..1605df4 100644 --- a/utils/mountd/fsloc.h +++ b/utils/mountd/fsloc.h @@ -44,7 +44,7 @@ struct servers { int h_referral; /* 0=replica, 1=referral */ }; -struct servers *replicas_lookup(int method, char *data, char *key); +struct servers *replicas_lookup(int method, char *data); void release_replicas(struct servers *server); #endif /* FSLOC_H */ -- 1.7.0.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html