Btrfs: make free space cache write out functions more readable
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 19 Jun 2014 02:42:49 +0000 (10:42 +0800)
committerChris Mason <clm@fb.com>
Thu, 19 Jun 2014 21:20:54 +0000 (14:20 -0700)
commit5349d6c3ffead27d693fdac21270541fa95ef33d
tree7531b4ce53185804c6dbc18fc5c605c0ab46572a
parent46fefe41b5360106ebfed228fbfba62f75ad4fcd
Btrfs: make free space cache write out functions more readable

This patch makes the free space cache write out functions more readable,
and beisdes that, it also reduces the stack space that the function --
__btrfs_write_out_cache uses from 194bytes to 144bytes.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/free-space-cache.c