diff options
author | Jens Axboe <axboe@fb.com> | 2015-09-02 16:46:02 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-02 16:46:02 -0600 |
commit | 5014c311baa2b21384321fa4a9f617a92e3e56f0 (patch) | |
tree | c9f2fab874651482e91185c8544ab9bd604e871a /drivers | |
parent | d975f309a8b250e67b66eabeb56be6989c783629 (diff) | |
download | linux-5014c311baa2b21384321fa4a9f617a92e3e56f0.tar.gz linux-5014c311baa2b21384321fa4a9f617a92e3e56f0.tar.xz |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions