commit 1967a78f471f4a6f7957e9ae21ac9a48d9c97393
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Sun Sep 30 00:13:35 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 b8bb9a9..f507732 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -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 "unionfs: mntget: 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",
+ "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