From 0384373f8c4cc1051ea0615a7efeac1b90153160 Mon Sep 17 00:00:00 2001 From: Dave Kleikamp Date: Wed, 4 May 2005 15:30:51 -0500 Subject: [PATCH] --- yaml --- r: 2403 b: refs/heads/master c: dcc9871270aa3b1bbe2e61cc9c1d80e9b2e8099d h: refs/heads/master i: 2401: 4b8bb187016d1a60c234e4d4b8dc7116160c77a2 2399: c171c0a74e08be8755d81701113d54d74d7ecb62 v: v3 --- [refs] | 2 +- trunk/fs/jfs/jfs_dmap.c | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 641233f932f0..4309ba1b7a94 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895 +refs/heads/master: dcc9871270aa3b1bbe2e61cc9c1d80e9b2e8099d diff --git a/trunk/fs/jfs/jfs_dmap.c b/trunk/fs/jfs/jfs_dmap.c index 69007fd546ef..cced2fed9d0f 100644 --- a/trunk/fs/jfs/jfs_dmap.c +++ b/trunk/fs/jfs/jfs_dmap.c @@ -272,7 +272,6 @@ int dbMount(struct inode *ipbmap) int dbUnmount(struct inode *ipbmap, int mounterror) { struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; - int i; if (!(mounterror || isReadOnly(ipbmap))) dbSync(ipbmap); @@ -282,14 +281,6 @@ int dbUnmount(struct inode *ipbmap, int mounterror) */ truncate_inode_pages(ipbmap->i_mapping, 0); - /* - * Sanity Check - */ - for (i = 0; i < bmp->db_numag; i++) - if (atomic_read(&bmp->db_active[i])) - printk(KERN_ERR "dbUnmount: db_active[%d] = %d\n", - i, atomic_read(&bmp->db_active[i])); - /* free the memory for the in-memory bmap. */ kfree(bmp);