commit | 5014c311baa2b21384321fa4a9f617a92e3e56f0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Sep 02 16:46:02 2015 -0600 |
committer | Jens Axboe <axboe@fb.com> | Wed Sep 02 16:46:02 2015 -0600 |
tree | c9f2fab874651482e91185c8544ab9bd604e871a | |
parent | d975f309a8b250e67b66eabeb56be6989c783629 [diff] |
block: fix bogus compiler warnings in blk-merge.c The compiler can't figure out that bvprv is initialized whenever 'prev' is set to 1 as well. Use a pointer to bvprv instead, setting it to NULL initially, and get rid of the 'prev' tracking. This dumbs it down enough that gcc is happy. Signed-off-by: Jens Axboe <axboe@fb.com>