added KERN_WARNING to cleanup thread's print messages
authorYiannis Pericleous <yiannos@loki.fsl.cs.sunysb.edu>
Tue, 29 May 2007 04:41:19 +0000 (00:41 -0400)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:02:41 +0000 (19:02 -0400)
fs/unionfs/odf.c

index c1a5e29ddb64a490f3abbdedc1014200b70f3e64..aa5261c5cd1864de1d9e023cfb722403990ee283 100644 (file)
@@ -2051,13 +2051,15 @@ void __odf_cleanup(void *args)
        if (cleanup)
                err = odf_cleanup(cl->odf, cleanup, size);
        if (err < 0)
-               printk("unionfs cleanup thread: error %d\n", err);
+               printk(KERN_WARNING "unionfs cleanup thread: error %d\n", err);
        else {
                if (err == 0 && cl->success == 1) {
                        if (cleanup == ODF_CLEAN_BLOCKS)
-                               printk("unionfs: Failed to bring free odf data blocks below threshold\n");
+                               printk(KERN_WARNING
+                                      "unionfs: failed to bring free odf data blocks below threshold\n");
                        else if (cleanup == ODF_CLEAN_INODES)
-                               printk("unionfs: Failed to bring free odf inodes below threshold\n");
+                               printk(KERN_WARNING
+                                      "unionfs: failed to bring free odf inodes below threshold\n");
                }
                cl->success = err;
        }