commit | f499e40fd97698a1c48d188279647009b21905fe | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Fri Jan 10 21:25:46 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Jan 28 13:20:30 2014 -0800 |
tree | 416f03ad6bad10af662d009688180d5312f6c00d | |
parent | de6e8200669f9b60694ca87eadf0a0a99cbdb6aa [diff] |
Btrfs: optimize to remove unnecessary removal with ulist reallocation Here we are not going to free memory, no need to remove every node one by one, just init root node here is ok. Cc: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>