Unionfs: use consistent printk prefixes
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 30 Sep 2007 01:49:18 +0000 (21:49 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 30 Sep 2007 01:49:18 +0000 (21:49 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c
fs/unionfs/union.h

index 1fa0e75dcb3c795a25fb57bc32956090ac8e4297..c95952db980ed664a3db86eff9e845e43f63c449 100644 (file)
@@ -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("unionfscreate: 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("unionfssetattr: vmtruncate failed\n");
                }
        }
 
index 6e27510063e01df2e028d34377ba18953e7710ce..baedd6dac206ca188819c4525016627976036b3f 100644 (file)
@@ -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 "unionfsmntget: 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",
+                      "unionfsmntput: mnt=%p bindex=%d\n",
                       mnt, bindex);
 #endif /* CONFIG_UNION_FS_DEBUG */
        mntput(mnt);