Re: [lkp-robot] [block] c4e7d723f3: WARNING:at_block/blk-merge.c:#attempt_merge

From: Bart Van Assche
Date: Tue May 30 2017 - 11:02:04 EST


On Sun, 2017-05-28 at 13:33 +0800, kernel test robot wrote:
> [ 207.874416] WARNING: CPU: 0 PID: 419 at block/blk-merge.c:674 attempt_merge+0xd1/0x11a6

I will fix this by adding if (!q->mq_ops) in front of the lockdep_assert_held()
statement in attempt_merge().

Bart.