Unionfs: use consistent printk prefixes
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 29 Sep 2007 05:36:57 +0000 (01:36 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:37:52 +0000 (22:37 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c
fs/unionfs/union.h

index 021e206eb4a70849f27bec2b5c7cfc9bab6ec7c9..ba85a679e91174f5f04ef4a52fd693d0da12fe5c 100644 (file)
@@ -90,7 +90,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;
                        }
@@ -1088,7 +1088,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 219cd9bbc112e363f4ee3805d3f2aa40746235f1..4e153d2b3e94c31daf8004e7673372140f25164b 100644 (file)
@@ -478,7 +478,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 */
 
@@ -504,7 +504,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);