summaryrefslogtreecommitdiff
path: root/fs/btrfs/hash.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2014-01-10 17:25:46 +0400
committerChris Mason <clm@fb.com>2014-01-29 01:20:30 +0400
commitf499e40fd97698a1c48d188279647009b21905fe (patch)
tree416f03ad6bad10af662d009688180d5312f6c00d /fs/btrfs/hash.c
parentde6e8200669f9b60694ca87eadf0a0a99cbdb6aa (diff)
downloadlinux-f499e40fd97698a1c48d188279647009b21905fe.tar.xz
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>
Diffstat (limited to 'fs/btrfs/hash.c')
0 files changed, 0 insertions, 0 deletions