Unionfs: improved printk upon copyup
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 31 Jul 2007 07:58:50 +0000 (03:58 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 6 Aug 2010 03:00:51 +0000 (23:00 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c

index baa6a3725ee0bc8003ee1b3b74f6fba157406eee..1b844871d462d054270c416a5110bd2c5603ab85 100644 (file)
@@ -392,8 +392,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);
        }