Home
last modified time | relevance | path

Searched hist:bfca9a6d4b1322ba36235e8a652f05a9668ef59b (Results 1 – 2 of 2) sorted by relevance

/linux/fs/btrfs/
H A Draid56.cdiff bfca9a6d4b1322ba36235e8a652f05a9668ef59b Mon Dec 08 12:55:57 CET 2014 Zhao Lei <zhaolei@cn.fujitsu.com> btrfs: Fix calculation of rbio->dbitmap's size calculation

Current code is trying to calculate rbio->dbitmap's size to make it
align to sizeof(long), but implement haven't achived this object,
it is align to sizeof(char) instead.
This patch fixed above calculation, and use sizeof(long) instead of
fixed "8" to increate compatibility.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
H A Dscrub.cdiff bfca9a6d4b1322ba36235e8a652f05a9668ef59b Mon Dec 08 12:55:57 CET 2014 Zhao Lei <zhaolei@cn.fujitsu.com> btrfs: Fix calculation of rbio->dbitmap's size calculation

Current code is trying to calculate rbio->dbitmap's size to make it
align to sizeof(long), but implement haven't achived this object,
it is align to sizeof(char) instead.
This patch fixed above calculation, and use sizeof(long) instead of
fixed "8" to increate compatibility.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>