[GFS2] tidy up error message
authorDavid Teigland <teigland@redhat.com>
Thu, 15 Nov 2007 15:01:13 +0000 (09:01 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:08:04 +0000 (08:08 +0000)
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>
fs/gfs2/locking/dlm/mount.c

index ab30102..f2efff4 100644 (file)
@@ -68,8 +68,7 @@ static int make_args(struct gdlm_ls *ls, char *data_arg, int *nodir)
        strncpy(data, data_arg, 255);
 
        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;
        }