Unionfs: improved printk upon copyup
authorErez_Zadok <ezk@cs.sunysb.edu>
Fri, 16 Nov 2007 18:46:49 +0000 (13:46 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:01 +0000 (19:03 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c

index 3e656376d94e704b90e31af270337ff23797f998..47ccd85baf1d51e9e2dbf06431cf90de5256f614 100644 (file)
@@ -459,8 +459,8 @@ int unionfs_file_revalidate(struct file *file, int willwrite)
        if (willwrite && IS_WRITE_FLAG(file->f_flags) &&
            !IS_WRITE_FLAG(unionfs_lower_file(file)->f_flags) &&
            is_robranch(dentry)) {
-               printk(KERN_DEBUG "unionfs: doing delayed copyup of a "
-                      "read-write file on a read-only branch\n");
+               printk(KERN_DEBUG "unionfs: do delay copyup of \"%s\"\n",
+                      dentry->d_name.name);
                err = do_delayed_copyup(file);
        }