A few errors exist for the Kconfig option LNET_MAX_PAYLOAD. First
mistake is the default size is 1MB not 2MB as it is shown to the
person configuring the kernel. Second the LNET_MAX_PAYLOAD option
is more closely related to LNET than the LUSTRE_FS option.

Signed-off-by: James Simmons <jsimm...@infradead.org>
---
 drivers/staging/lustre/lnet/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lnet/Kconfig 
b/drivers/staging/lustre/lnet/Kconfig
index 00850ee..9c85091 100644
--- a/drivers/staging/lustre/lnet/Kconfig
+++ b/drivers/staging/lustre/lnet/Kconfig
@@ -3,8 +3,8 @@ config LNET
        depends on LUSTRE_FS
 
 config LNET_MAX_PAYLOAD
-       int "Lustre lnet max transfer payload (default 2MB)"
-       depends on LUSTRE_FS
+       int "Lustre lnet max transfer payload (default 1MB)"
+       depends on LNET
        default "1048576"
        help
          This option defines the maximum size of payload in bytes that lnet
-- 
1.7.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to