diff options
author | Steve Dickson <steved@redhat.com> | 2010-07-19 13:07:00 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-08-09 09:57:02 -0400 |
commit | 9d5eaa2e939723c47649f0f112b43cc8ff414740 (patch) | |
tree | 59307c34bf832e1cdcd6346e1204cb0009e79446 /utils | |
parent | e10000740fc4c323dbc8d501d7c0caeae12c19b5 (diff) | |
download | nfs-utils-9d5eaa2e939723c47649f0f112b43cc8ff414740.tar.gz nfs-utils-9d5eaa2e939723c47649f0f112b43cc8ff414740.tar.xz nfs-utils-9d5eaa2e939723c47649f0f112b43cc8ff414740.zip |
Removed warnings from fsloc.c
fsloc.c: In function 'replicas_lookup':
fsloc.c:149: warning: unused parameter 'key'
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mountd/cache.c | 2 | ||||
-rw-r--r-- | utils/mountd/fsloc.c | 2 | ||||
-rw-r--r-- | 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 */ |