Browse Source

[GFS2] tidy up error message

Print error with log_error() to be consistent with others.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
David Teigland 17 năm trước cách đây
mục cha
commit
00c134756c
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      fs/gfs2/locking/dlm/mount.c

+ 1 - 2
fs/gfs2/locking/dlm/mount.c

@@ -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
-		       "DLM/GFS2/GFS ERROR: (u)mount helpers are not installed!\n");
+		log_error("no mount options, (u)mount helpers not installed");
 		return -EINVAL;
 		return -EINVAL;
 	}
 	}