]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: make sure the chunk allocator doesn't create zero length chunks
authorChris Mason <chris.mason@oracle.com>
Tue, 6 Apr 2010 13:37:47 +0000 (09:37 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 6 Apr 2010 13:37:47 +0000 (09:37 -0400)
commitd83c2fb244932f580df2db4d93377778fcbee553
tree30447eb92851fe8542469a69cfd126bec30f9dd2
parent5f61bde4b624a85e49ec8d9469d37eae490f2c70
Btrfs: make sure the chunk allocator doesn't create zero length chunks

A recent commit allowed for smaller chunks to be created, but didn't
make sure they were always bigger than a stripe.  After some divides,
this led to zero length stripes.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c