Btrfs: refactor caching_thread()
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:33 +0000 (20:50 -0700)
committerChris Mason <clm@fb.com>
Thu, 17 Dec 2015 20:16:46 +0000 (12:16 -0800)
commit73fa48b674e819098c3bafc47618d0e2868191e5
treeaae554a8b1f79e877631146fecc1dbd684963ee7
parent1abfbcdf56d9485f050149bc4968c1609f9a0773
Btrfs: refactor caching_thread()

We're also going to load the free space tree from caching_thread(), so
we should refactor some of the common code.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c