Unionfs: use consistent printk prefixes
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 30 Sep 2007 04:13:35 +0000 (00:13 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 30 Sep 2007 04:13:35 +0000 (00:13 -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 b8bb9a91af2df1381d8d788db65d4f910df8a109..f507732e6721d46cdbbfdab9731ae70bb778fc8c 100644 (file)
@@ -481,7 +481,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 */
 
@@ -507,7 +507,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);