summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2007-11-15 09:01:13 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 08:08:04 +0000
commit00c134756c5ad570a1ad3d6f93a67fc9c25a67ea (patch)
tree36176240919582d17d4655a1838e1b934ede9cb8 /fs/gfs2/locking
parent0b7580c786a5feda6291fe68ead3a1b92b6b35b8 (diff)
downloadop-kernel-dev-00c134756c5ad570a1ad3d6f93a67fc9c25a67ea.zip
op-kernel-dev-00c134756c5ad570a1ad3d6f93a67fc9c25a67ea.tar.gz
[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>
Diffstat (limited to 'fs/gfs2/locking')
-rw-r--r--fs/gfs2/locking/dlm/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/locking/dlm/mount.c b/fs/gfs2/locking/dlm/mount.c
index ab30102..f2efff4 100644
--- a/fs/gfs2/locking/dlm/mount.c
+++ b/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);
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;
}
OpenPOWER on IntegriCloud