提交 00c13475 编写于 作者: D David Teigland 提交者: Steven Whitehouse

[GFS2] tidy up error message

Print error with log_error() to be consistent with others.
Signed-off-by: NDavid Teigland <teigland@redhat.com>
Signed-off-by: NFabio M. Di Nitto <fabbione@ubuntu.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 0b7580c7
...@@ -68,8 +68,7 @@ static int make_args(struct gdlm_ls *ls, char *data_arg, int *nodir) ...@@ -68,8 +68,7 @@ static int make_args(struct gdlm_ls *ls, char *data_arg, int *nodir)
strncpy(data, data_arg, 255); strncpy(data, data_arg, 255);
if (!strlen(data)) { if (!strlen(data)) {
printk(KERN_ERR log_error("no mount options, (u)mount helpers not installed");
"DLM/GFS2/GFS ERROR: (u)mount helpers are not installed!\n");
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册