diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index 1a6b5921d17a..76e94d679d37 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c @@ -143,6 +143,7 @@ void jfs_evict_inode(struct inode *inode) jfs_info("In jfs_evict_inode, inode = 0x%p", inode); if (!inode->i_nlink && !is_bad_inode(inode)) { + printk("inode: %p, fs: %d, %s\n", inode, JFS_IP(inode)->fileset, __func__); dquot_initialize(inode); if (JFS_IP(inode)->fileset == FILESYSTEM_I) { @@ -152,6 +153,7 @@ void jfs_evict_inode(struct inode *inode) if (test_cflag(COMMIT_Freewmap, inode)) jfs_free_zero_link(inode); + printk("inode: %p, ipimap: %p, %s\n", inode, ipimap, __func__); if (ipimap && JFS_IP(ipimap)->i_imap) diFree(inode); diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c index 415eb65a36ff..5e059b35440c 100644 --- a/fs/jfs/jfs_mount.c +++ b/fs/jfs/jfs_mount.c @@ -111,6 +111,7 @@ int jfs_mount(struct super_block *sb) goto err_umount_ipaimap; } + printk("read, ipbmap: %p, fileset:%d, %s\n", ipbmap, JFS_IP(ipbmap)->fileset, __func__); jfs_info("jfs_mount: ipbmap:0x%p", ipbmap); sbi->ipbmap = ipbmap; @@ -170,6 +171,7 @@ int jfs_mount(struct super_block *sb) rc = -EIO; goto err_umount_ipaimap2; } + printk("read, ipimap: %p, fileset:%d, %s\n", ipimap, JFS_IP(ipimap)->fileset, __func__); jfs_info("jfs_mount: ipimap:0x%p", ipimap); /* map further access of per fileset inodes by the fileset inode */ @@ -188,6 +190,7 @@ int jfs_mount(struct super_block *sb) */ err_ipimap: /* close fileset inode allocation map inode */ + printk("err, ipimap: %p, fileset:%d, %s\n", ipimap, JFS_IP(ipimap)->fileset, __func__); diFreeSpecial(ipimap); err_umount_ipaimap2: /* close secondary aggregate inode allocation map */ @@ -200,6 +203,7 @@ int jfs_mount(struct super_block *sb) err_umount_ipbmap: /* close aggregate block allocation map */ dbUnmount(ipbmap, 1); err_ipbmap: /* close aggregate inodes */ + printk("err, ipbmap: %p, fileset:%d, %s\n", ipbmap, JFS_IP(ipbmap)->fileset, __func__); diFreeSpecial(ipbmap); err_umount_ipaimap: /* close aggregate inode allocation map */ diUnmount(ipaimap, 1); diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 966826c394ee..5fc7ff044d66 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -113,6 +113,7 @@ static struct inode *jfs_alloc_inode(struct super_block *sb) static void jfs_free_inode(struct inode *inode) { + printk("inode: %p, %s\n", inode, __func__); kmem_cache_free(jfs_inode_cachep, JFS_IP(inode)); }