diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-07-03 21:25:11 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-07-03 14:06:54 -0400 |
commit | d25aa23b0236418e891e1db66562035891a8faa8 (patch) | |
tree | 74db86927c6cd437babc868c0c687052b8831916 /disk-io.h | |
parent | 0daa219ee1119e30059077da5be03c4506963fe2 (diff) |
Btrfs-progs: Don't free the devices when close the ctree
Some commands(such as btrfs-convert) access the devices again after we close
the ctree, so it is better that we don't free the devices objects when the ctree
is closed, or we need re-allocate the memory for the devices. We needn't worry
the memory leak problem, because all the memory will be freed after the taskes
die.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'disk-io.h')
0 files changed, 0 insertions, 0 deletions