]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix warning on uninit variable in btrfs_finish_chunk_alloc
authorChris Mason <clm@fb.com>
Wed, 23 Dec 2015 21:30:51 +0000 (13:30 -0800)
committerChris Mason <clm@fb.com>
Wed, 23 Dec 2015 21:30:51 +0000 (13:30 -0800)
commit09c1f9fda5885deeac83ff985f79b9baa5c3f334
tree52856ad4e8eda3041d525b35f2a6225ffa586992
parent503c325d4b3a229615bceaccb7fdc8834360d326
btrfs: fix warning on uninit variable in btrfs_finish_chunk_alloc

map->num_stripes really can't be zero, but just in case.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c