aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2014-12-08 11:55:57 +0000
committerChris Mason <[email protected]>2016-01-20 15:22:15 +0000
commitbfca9a6d4b1322ba36235e8a652f05a9668ef59b (patch)
tree863e7cad45616ddc8a5417919d696ced884ddd2e /fs/btrfs/async-thread.c
parentbtrfs: Fix no_space in write and rm loop (diff)
downloadkernel-bfca9a6d4b1322ba36235e8a652f05a9668ef59b.tar.gz
kernel-bfca9a6d4b1322ba36235e8a652f05a9668ef59b.zip
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions