Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2403
b: refs/heads/master
c: dcc9871
h: refs/heads/master
i:
  2401: 4b8bb18
  2399: c171c0a
v: v3
  • Loading branch information
Dave Kleikamp committed May 4, 2005
1 parent 854fea4 commit 0384373
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895
refs/heads/master: dcc9871270aa3b1bbe2e61cc9c1d80e9b2e8099d
9 changes: 0 additions & 9 deletions trunk/fs/jfs/jfs_dmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);

Expand Down

0 comments on commit 0384373

Please sign in to comment.