Unionfs: remove periods from the end of printk strings
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Nov 2007 00:54:23 +0000 (19:54 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Nov 2007 00:54:23 +0000 (19:54 -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 8b256e3d3838cef69087602adc622d3db9634488..345fda9d8fbf139c9d509b76c6a7ed55f1e24d35 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 2ea46cade696dcd2f963857193e9365ceb04f67a..f8056c653d17fa93af8189eae5273d3295e8f4a8 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 4bf6c148ce020a4bb76e839e2ec7f822873be57b..2c29ada940163e77d3545d7822d0c1494e0985cb 100644 (file)
@@ -289,14 +289,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 045890e9dd8b7b50b57fd1a67515cd1c4b73b618..2e9f5f64bcee5638675fb3d983633ceea36d4ff2 100644 (file)
@@ -171,18 +171,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;
        }
@@ -582,7 +582,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;
                }
@@ -632,7 +632,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;
                }