summaryrefslogtreecommitdiff
path: root/block/ioctl.c
diff options
context:
space:
mode:
authorShaohua Li <shli@kernel.org>2012-09-28 10:38:48 +0200
committerJens Axboe <axboe@kernel.dk>2012-09-28 10:38:48 +0200
commit02f3939e1a9357b7c370a4a69717cf9c02452737 (patch)
treee7cc574ca11f44ccdf6a685dc45a9a1eede1f2cd /block/ioctl.c
parent232f1b51062553b7cf49f99719fbd1b8a8d80f29 (diff)
downloadlwn-02f3939e1a9357b7c370a4a69717cf9c02452737.tar.gz
lwn-02f3939e1a9357b7c370a4a69717cf9c02452737.zip
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions