提交 5fb35a3a 编写于 作者: W Weston Andros Adamson 提交者: J. Bruce Fields

nfsd: return 0 on reads of fault injection files

debugfs read operations were returning the contents of an uninitialized u64.
Signed-off-by: NWeston Andros Adamson <dros@netapp.com>
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 ce0fc43c
......@@ -58,6 +58,7 @@ static int nfsd_inject_set(void *op_ptr, u64 val)
static int nfsd_inject_get(void *data, u64 *val)
{
*val = 0;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册