gfs2: tidy up error message
PATCH 1/1 gfs2: tidy up error message
Print error with log_error() to be consistent with others.
Signed-off-by David Teigland <[email protected]>
--- fs/gfs2/locking/dlm/mount.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
fs/gfs2/locking/dlm/mount.c +1 -2
@@ -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 ; }
Signature · 1 line
1.5.2.1
PATCH 1/1 gfs2: tidy up error message
Signed-off-by Fabio M. Di Nitto <[email protected]>
Quoted 21 lines · David Teigland
Print error with
log_error()to be consistent with others.Signed-off-by David Teigland <[email protected]>--- fs/gfs2/locking/dlm/mount.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)fs/gfs2/locking/dlm/mount.c +1
-2@@ -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 ; }
Signature · 1 line
I'm going to make him an offer he can't refuse.
Hi,
Now in the -nmw git tree. Thanks,
Steve.
Quoted 21 lines · David Teigland
Print error with
log_error()to be consistent with others.Signed-off-by David Teigland <[email protected]>--- fs/gfs2/locking/dlm/mount.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)fs/gfs2/locking/dlm/mount.c +1
-2@@ -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 ; }