[PATCH 13/19] Unionfs: remove periods from the end of printk strings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Erez Zadok
Date: Sunday, September 30, 2007 - 10:50 pm

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
 fs/unionfs/lookup.c |    2 +-
 fs/unionfs/main.c   |    2 +-
 fs/unionfs/rename.c |    4 ++--
 fs/unionfs/super.c  |   10 +++++-----
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c
index 981c0d9..929f15b 100644
--- a/fs/unionfs/lookup.c
+++ b/fs/unionfs/lookup.c
@@ -215,7 +215,7 @@ struct dentry *unionfs_lookup_backend(struct dentry *dentry,
 			}
 			err = -EIO;
 			printk(KERN_ERR "unionfs: EIO: invalid whiteout "
-			       "entry type %d.\n",
+			       "entry type %d\n",
 			       wh_lower_dentry->d_inode->i_mode);
 			dput(wh_lower_dentry);
 			dput(first_lower_dentry);
diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c
index 25d1461..25ac851 100644
--- a/fs/unionfs/main.c
+++ b/fs/unionfs/main.c
@@ -485,7 +485,7 @@ static struct unionfs_dentry_info *unionfs_parse_options(
 		 * 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 c90405d..81121f0 100644
--- a/fs/unionfs/rename.c
+++ b/fs/unionfs/rename.c
@@ -294,14 +294,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 798def9..647b08c 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -173,18 +173,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;
 	}
@@ -584,7 +584,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;
 		}
@@ -634,7 +634,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;
 		}
-- 
1.5.2.2

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL -mm] 00/19 Unionfs updates/cleanups/fixes, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 01/19] Unionfs: compile if debug is off, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 02/19] Unionfs: add un/likely on conditionals, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 03/19] Unionfs: minor comment cleanups, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 04/19] Unionfs: use consistent printk prefixes, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 05/19] Unionfs: use UNIONFS_NAME macro, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 06/19] Unionfs: properly indent static struct, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 07/19] Unionfs: remove unnecessary if condition, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 08/19] Unionfs: use page_offset() helper, Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 13/19] Unionfs: remove periods from the end of prin ..., Erez Zadok, (Sun Sep 30, 10:50 pm)
[PATCH 15/19] Unionfs: coding style: proper spacing, Erez Zadok, (Sun Sep 30, 10:50 pm)