]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd134f3e80f8c93d76caa93e2b0c109c92c128c43
tree7531b4ce53185804c6dbc18fc5c605c0ab46572a
parent81663e54241c8e289ed9912fd1aae59f9c898d3c
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