]> Git Repo - linux.git/commit
Btrfs: fix max dir item size calculation
authorFilipe David Borba Manana <[email protected]>
Wed, 27 Nov 2013 16:06:16 +0000 (16:06 +0000)
committerChris Mason <[email protected]>
Tue, 28 Jan 2014 21:19:49 +0000 (13:19 -0800)
commit878f2d2cb355da2dabbffb2ae51b7541a91ce4e3
treeef1594fbaf8e1f750f1603598a218eb7c16ee5cf
parent12cfbad90e02793b7a71b7591ebd5c3f9228dc5d
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/dir-item.c
This page took 0.052396 seconds and 4 git commands to generate.