JFS: cleanup - remove unneeded sanity check
authorDave Kleikamp <shaggy@austin.ibm.com>
Wed, 4 May 2005 20:30:51 +0000 (15:30 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Wed, 4 May 2005 20:30:51 +0000 (15:30 -0500)
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_dmap.c

index 69007fd546efc01ffa08a5855cbc818f0a8ac202..cced2fed9d0f9e9096fc102c8811f9795239d28e 100644 (file)
@@ -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 dbUnmount(struct inode *ipbmap, int mounterror)
 {
        struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap;
-       int i;
 
        if (!(mounterror || isReadOnly(ipbmap)))
                dbSync(ipbmap);
 
        if (!(mounterror || isReadOnly(ipbmap)))
                dbSync(ipbmap);
@@ -282,14 +281,6 @@ int dbUnmount(struct inode *ipbmap, int mounterror)
         */
        truncate_inode_pages(ipbmap->i_mapping, 0);
 
         */
        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);
 
        /* free the memory for the in-memory bmap. */
        kfree(bmp);