diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-14 15:10:26 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:59 -0400 |
commit | 8c416c9e0d35b0462e89b76b7581127efe03b8b2 (patch) | |
tree | 22405174e6608ad4f5f2481ac16a16506a8e5587 /fs/btrfs/inode.c | |
parent | b99aa6cb548ae9461c5dc0e38f88ebc618ea68d7 (diff) |
Btrfs: Delete any remaining extent_maps before freeing the inode
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index fd0e0d80333b..5260b4708158 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2601,6 +2601,7 @@ void btrfs_destroy_inode(struct inode *inode) WARN_ON(!list_empty(&inode->i_dentry)); WARN_ON(inode->i_data.nrpages); + btrfs_drop_extent_cache(inode, 0, (u64)-1); kmem_cache_free(btrfs_inode_cachep, BTRFS_I(inode)); } |