projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b99aa6c
)
Btrfs: Delete any remaining extent_maps before freeing the inode
author
Chris Mason
<chris.mason@oracle.com>
Mon, 14 Jan 2008 20:10:26 +0000
(15:10 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000
(11:03 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index fd0e0d80333b439e538b4ebb148c79276d4ff233..5260b4708158a79ce04f2bdd58b3675adcc335ef 100644
(file)
--- 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));
}