From: Erez Zadok Date: Sun, 18 Nov 2007 04:27:52 +0000 (-0500) Subject: Unionfs: remove periods from the end of printk strings X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=0d7c3266a8d18e6cb829dbdf1e700b4e9fad7667;p=unionfs-odf.git Unionfs: remove periods from the end of printk strings Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c index e0c3bcd8b7..54c8584866 100644 --- a/fs/unionfs/main.c +++ b/fs/unionfs/main.c @@ -508,7 +508,7 @@ static struct unionfs_dentry_info *unionfs_parse_options( * that don't, above this check. */ if (!optarg) { - printk(KERN_ERR "unionfs: %s requires an argument.\n", + printk(KERN_ERR "unionfs: %s requires an argument\n", optname); err = -EINVAL; goto out_error; diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c index ab292d9937..1259a64ed7 100644 --- a/fs/unionfs/rename.c +++ b/fs/unionfs/rename.c @@ -258,14 +258,14 @@ revert: local_err = unionfs_refresh_lower_dentry(new_dentry, old_bstart); if (local_err) { printk(KERN_ERR "unionfs: revert failed in rename: " - "the new refresh failed.\n"); + "the new refresh failed\n"); eio = -EIO; } local_err = unionfs_refresh_lower_dentry(old_dentry, old_bstart); if (local_err) { printk(KERN_ERR "unionfs: revert failed in rename: " - "the old refresh failed.\n"); + "the old refresh failed\n"); eio = -EIO; goto revert_out; } diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index acf8c7cc99..bf4095dd93 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -166,18 +166,18 @@ static noinline int do_remount_mode_option(char *optarg, int cur_branches, /* by now, optarg contains the branch name */ if (!*optarg) { printk(KERN_ERR - "unionfs: no branch specified for mode change.\n"); + "unionfs: no branch specified for mode change\n"); goto out; } if (!modename) { - printk(KERN_ERR "unionfs: branch \"%s\" requires a mode.\n", + printk(KERN_ERR "unionfs: branch \"%s\" requires a mode\n", optarg); goto out; } *modename++ = '\0'; perms = __parse_branch_mode(modename); if (perms == 0) { - printk(KERN_ERR "unionfs: invalid mode \"%s\" for \"%s\".\n", + printk(KERN_ERR "unionfs: invalid mode \"%s\" for \"%s\"\n", modename, optarg); goto out; } @@ -590,7 +590,7 @@ static int unionfs_remount_fs(struct super_block *sb, int *flags, */ if (!optarg || !*optarg) { printk(KERN_ERR "unionfs: all remount options require " - "an argument (%s).\n", optname); + "an argument (%s)\n", optname); err = -EINVAL; goto out_release; } @@ -640,7 +640,7 @@ static int unionfs_remount_fs(struct super_block *sb, int *flags, */ if (!strcmp("dirs", optname)) { printk(KERN_WARNING - "unionfs: remount ignoring option \"%s\".\n", + "unionfs: remount ignoring option \"%s\"\n", optname); continue; }