block: add bio_has_data() to detect whether a bio carries data or not
authorJens Axboe <jens.axboe@oracle.com>
Fri, 8 Aug 2008 09:17:12 +0000 (11:17 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:00 +0000 (08:56 +0200)
commit7a67f63b3233ff28e753854fe27891c44f8588ae
tree0383a42c135605f976c126b263c07fb250b3ffca
parent35e396cd100489dfe8f5a76e3613fb8049ffdff3
block: add bio_has_data() to detect whether a bio carries data or not

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/bio.h