From: maxim Date: Wed, 21 Oct 2009 12:44:20 +0000 (+0000) Subject: b=20757 X-Git-Tag: v1_8_2_02~1^5~2 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=8b1e8ab893576a1caf2cb0f0426a2791be5c1084;p=fs%2Flustre-release.git b=20757 i=liang i=maxim Adding CTL numbers for GNILND and removing CFS_SYSFS_MODULE_PARM check to allow LND sysctl even if CFS_SYSFS_MODULE_PARM enabled. --- diff --git a/lnet/include/lnet/lnet-sysctl.h b/lnet/include/lnet/lnet-sysctl.h index 3ceca6f..ca980a3 100644 --- a/lnet/include/lnet/lnet-sysctl.h +++ b/lnet/include/lnet/lnet-sysctl.h @@ -37,7 +37,7 @@ #ifndef __LNET_SYSCTL_H__ #define __LNET_SYSCTL_H__ -#if defined(CONFIG_SYSCTL) && !CFS_SYSFS_MODULE_PARM +#if defined(CONFIG_SYSCTL) #ifndef HAVE_SYSCTL_UNNUMBERED @@ -50,6 +50,7 @@ #define CTL_QSWNAL 207 #define CTL_SOCKLND 208 #define CTL_VIBLND 209 +#define CTL_GNILND 210 #else @@ -62,6 +63,7 @@ #define CTL_QSWNAL CTL_UNNUMBERED #define CTL_SOCKLND CTL_UNNUMBERED #define CTL_VIBLND CTL_UNNUMBERED +#define CTL_GNILND CTL_UNNUMBERED #endif /* sysctl id */