Unionfs: remove periods from the end of printk strings
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 29 Sep 2007 05:36:57 +0000 (01:36 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 02:36:17 +0000 (21:36 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/lookup.c
fs/unionfs/main.c
fs/unionfs/rename.c
fs/unionfs/super.c

index 981c0d98ae6fe70f54039707248412ee73ed0359..929f15b1f8d81c316d8c58f097ae4283e9516f50 100644 (file)
@@ -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);
index 25d1461d44b6be4588dfe541165143b09b6ab3e2..25ac8513788da75fbebee3eb771bae39f03bc3aa 100644 (file)
@@ -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;
index c90405d93f4ac3fec46245c63b702650efc06e99..81121f03e5663ea438127f3d4fd2390298e070a6 100644 (file)
@@ -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;
        }
index 798def934e2b5a1b1bb3fcc6525a6e0d1f03e70a..647b08c0f22daa255b61d872878f39facaae6d90 100644 (file)
@@ -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;
                }