linux/fs/btrfs
Yan Zheng d2fb3437e4 Btrfs: fix leaking block group on balance
The block group structs are referenced in many different
places, and it's not safe to free while balancing.  So, those block
group structs were simply leaked instead.

This patch replaces the block group pointer in the inode with the starting byte
offset of the block group and adds reference counting to the block group
struct.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
2008-12-11 16:30:39 -05:00
..
acl.c
async-thread.c
async-thread.h
btrfs_inode.h Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
compat.h
compression.c
compression.h
COPYING
crc32c.h
ctree.c
ctree.h Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
dir-item.c
disk-io.c
disk-io.h
export.c
export.h
extent_io.c
extent_io.h
extent_map.c
extent_map.h
extent-tree.c Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
file-item.c
file.c
free-space-cache.c
hash.h
inode-item.c
inode-map.c
inode.c Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
INSTALL
ioctl.c Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
ioctl.h
locking.c
locking.h
Makefile
ordered-data.c
ordered-data.h
orphan.c
print-tree.c
print-tree.h
ref-cache.c
ref-cache.h
root-tree.c
struct-funcs.c
super.c
sysfs.c
transaction.c Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
transaction.h Btrfs: fix leaking block group on balance 2008-12-11 16:30:39 -05:00
tree-defrag.c
tree-log.c
tree-log.h
version.h
version.sh
volumes.c
volumes.h
xattr.c
xattr.h
zlib.c