diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2013-11-27 17:06:16 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 22:19:49 +0100 |
commit | 878f2d2cb355da2dabbffb2ae51b7541a91ce4e3 (patch) | |
tree | ef1594fbaf8e1f750f1603598a218eb7c16ee5cf /virt/kvm | |
parent | Btrfs: more efficient extent state insertions (diff) | |
download | linux-878f2d2cb355da2dabbffb2ae51b7541a91ce4e3.tar.xz linux-878f2d2cb355da2dabbffb2ae51b7541a91ce4e3.zip |
Btrfs: fix max dir item size calculation
We were accounting for sizeof(struct btrfs_item) twice, once
in the data_size variable and another time in the if statement
below.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions