summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_map.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-16 00:14:48 +0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 19:03:56 +0400
commitf510cfecfc98759d75283823cfccf0cc0d59a4c6 (patch)
treedfc2f788df4e2a437d976f78a2a2a675375f7134 /fs/btrfs/extent_map.h
parentae5252bd51a252b7b8b02289337c36774835101c (diff)
downloadlinux-f510cfecfc98759d75283823cfccf0cc0d59a4c6.tar.xz
Btrfs: Fix extent_buffer and extent_state leaks
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
-rw-r--r--fs/btrfs/extent_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/extent_map.h b/fs/btrfs/extent_map.h
index 3b3abf34c403..d100f7c1476c 100644
--- a/fs/btrfs/extent_map.h
+++ b/fs/btrfs/extent_map.h
@@ -68,7 +68,9 @@ struct extent_buffer {
atomic_t refs;
int flags;
struct list_head list;
+ struct list_head leak_list;
struct page *first_page;
+ unsigned long alloc_addr;
};
typedef struct extent_map *(get_extent_t)(struct inode *inode,