commit | 878f2d2cb355da2dabbffb2ae51b7541a91ce4e3 | [log] [tgz] |
---|---|---|
author | Filipe David Borba Manana <fdmanana@gmail.com> | Wed Nov 27 16:06:16 2013 +0000 |
committer | Chris Mason <clm@fb.com> | Tue Jan 28 13:19:49 2014 -0800 |
tree | ef1594fbaf8e1f750f1603598a218eb7c16ee5cf | |
parent | 12cfbad90e02793b7a71b7591ebd5c3f9228dc5d [diff] |
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>