commit 18a4a8d81f19800b52a2e0ba2d459a5624f50ca2
Author: Erez Zadok <[EMAIL PROTECTED]>
Date:   Sun Sep 30 00:08:29 2007 -0400

    Unionfs: use consistent printk prefixes
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c
index 1fa0e75..c95952d 100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -89,7 +89,7 @@ static int unionfs_create(struct inode *parent, struct dentry 
*dentry,
                        unlock_dir(lower_dir_dentry);
 
                        if (err) {
-                               printk("unionfs_create: could not unlink "
+                               printk("unionfs: create: could not unlink "
                                       "whiteout, err = %d\n", err);
                                goto out;
                        }
@@ -1076,7 +1076,7 @@ static int unionfs_setattr(struct dentry *dentry, struct 
iattr *ia)
                if (ia->ia_size != i_size_read(inode)) {
                        err = vmtruncate(inode, ia->ia_size);
                        if (err)
-                               printk("unionfs_setattr: vmtruncate failed\n");
+                               printk("unionfs: setattr: vmtruncate failed\n");
                }
        }
 
diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index 6e27510..baedd6d 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -476,7 +476,7 @@ static inline struct vfsmount *unionfs_mntget(struct dentry 
*dentry,
        mnt = mntget(unionfs_lower_mnt_idx(dentry, bindex));
 #ifdef CONFIG_UNION_FS_DEBUG
        if (!mnt)
-               printk(KERN_DEBUG "unionfs_mntget: mnt=%p bindex=%d\n",
+               printk(KERN_DEBUG "unionfs: mntget: mnt=%p bindex=%d\n",
                       mnt, bindex);
 #endif /* CONFIG_UNION_FS_DEBUG */
 
@@ -502,7 +502,7 @@ static inline void unionfs_mntput(struct dentry *dentry, 
int bindex)
         */
        if (!mnt && !(bindex > dbstart(dentry) && bindex < dbend(dentry)))
                printk(KERN_WARNING
-                      "unionfs_mntput: mnt=%p bindex=%d\n",
+                      "unionfs: mntput: mnt=%p bindex=%d\n",
                       mnt, bindex);
 #endif /* CONFIG_UNION_FS_DEBUG */
        mntput(mnt);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to