summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-01-20 15:11:34 +0800
committerChris Mason <clm@fb.com>2015-01-21 18:06:48 -0800
commit6e9606d2a2dce098c1739fb3cd82a1c34fd73d3a (patch)
treeeeeb1c991d4971cdbfda675bbbb4b37b0c6f5ebb /fs/xfs
parent8e5cfb55d3f7dc764cd7f4c966d4c2687eaf7569 (diff)
downloadop-kernel-dev-6e9606d2a2dce098c1739fb3cd82a1c34fd73d3a.zip
op-kernel-dev-6e9606d2a2dce098c1739fb3cd82a1c34fd73d3a.tar.gz
Btrfs: add ref_count and free function for btrfs_bio
1: ref_count is simple than current RBIO_HOLD_BBIO_MAP_BIT flag to keep btrfs_bio's memory in raid56 recovery implement. 2: free function for bbio will make code clean and flexible, plus forced data type checking in compile. Changelog v1->v2: Rename following by David Sterba's suggestion: put_btrfs_bio() -> btrfs_put_bio() get_btrfs_bio() -> btrfs_get_bio() bbio->ref_count -> bbio->refs Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud