]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: makes bio_split support bio without data
authorShaohua Li <shli@fusionio.com>
Mon, 24 Sep 2012 06:41:25 +0000 (16:41 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 24 Sep 2012 06:41:25 +0000 (16:41 +1000)
commit889adc07e073e0fb072124e2dc7b1f1f2c84f12d
tree354aafec6366b50301d916f1038031ea7d5e0449
parent34383ec79078eafc1ded7f784b3c2a8c595a6f63
block: makes bio_split support bio without data

discard bio hasn't data attached. We hit a BUG_ON with such bio. This makes
bio_split works for such bio.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
fs/bio.c