提交 b963e722 编写于 作者: D Daniel Machon 提交者: Greg Kroah-Hartman

Staging: lustre/lustre/ptlrpc: service.c: Fixed issue with global integer being initialized to 0

Fixed global integer initialization issue.
Global variables should not be explicitly initialized to 0 or NULL.
Signed-off-by: NDaniel Machon <dmachon.dev@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 550d35d8
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include "ptlrpc_internal.h" #include "ptlrpc_internal.h"
/* The following are visible and mutable through /sys/module/ptlrpc */ /* The following are visible and mutable through /sys/module/ptlrpc */
int test_req_buffer_pressure = 0; int test_req_buffer_pressure;
module_param(test_req_buffer_pressure, int, 0444); module_param(test_req_buffer_pressure, int, 0444);
MODULE_PARM_DESC(test_req_buffer_pressure, "set non-zero to put pressure on request buffer pools"); MODULE_PARM_DESC(test_req_buffer_pressure, "set non-zero to put pressure on request buffer pools");
module_param(at_min, int, 0644); module_param(at_min, int, 0644);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册