* @sdp: The super block
* @blkno: The device block number we want to write to
* @biop: The bio to get or allocate
- * @op: REQ_OP
+ * @opf: REQ_OP | op_flags
* @end_io: The bi_end_io callback
* @flush: Always flush the current bio and allocate a new one?
*
*/
static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno,
- struct bio **biop, enum req_op op,
+ struct bio **biop, blk_opf_t opf,
bio_end_io_t *end_io, bool flush)
{
struct bio *bio = *biop;
gfs2_log_submit_write(biop);
}
- *biop = gfs2_log_alloc_bio(sdp, blkno, end_io, op);
+ *biop = gfs2_log_alloc_bio(sdp, blkno, end_io, opf);
return *biop;
}