X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_param.h;h=393604102e7438313d4bec9db8b89923c572e63e;hb=4f91d5161d005eed6ff7a9fe6abea99690f4bcb7;hp=cfc510cfc25e4785f37847584052612906a9c402;hpb=3f9acf5544cd6bb46012d9d517183d3af7378a32;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_param.h b/lustre/include/lustre_param.h index cfc510c..3936041 100644 --- a/lustre/include/lustre_param.h +++ b/lustre/include/lustre_param.h @@ -28,6 +28,8 @@ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2011, Whamcloud, Inc. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -54,7 +56,8 @@ int class_get_next_param(char **params, char *copy); int class_match_param(char *buf, char *key, char **valp); int class_parse_nid(char *buf, lnet_nid_t *nid, char **endh); int class_parse_net(char *buf, __u32 *net, char **endh); -int class_match_net(char *buf, lnet_nid_t nid); +int class_match_nid(char *buf, char *key, lnet_nid_t nid); +int class_match_net(char *buf, char *key, __u32 net); /* obd_mount.c */ int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, char *s1, char *s2, char *s3, char *s4);