Unionfs: remove periods from the end of printk strings
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 18 Nov 2007 04:27:52 +0000 (23:27 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:12 +0000 (19:03 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/main.c
fs/unionfs/rename.c
fs/unionfs/super.c

index e0c3bcd8b737fe416f3c726e25ee3a052ed65a76..54c8584866e714907b39d5cf6af12f8736e8a56c 100644 (file)
@@ -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;
index ab292d993704fc20fc9c3a793fb3c3d2dd166ef9..1259a64ed7d896918ba10593c1719d44c57b90c6 100644 (file)
@@ -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;
        }
index acf8c7cc99cc31dbe2bddad45c65767bd745c252..bf4095dd93da067ce27b4da2b528fa269e41352e 100644 (file)
@@ -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;
                }