]> git.baikalelectronics.ru Git - kernel.git/commit
block, fs, drivers: remove REQ_OP compat defs and related code
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:22 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit1eedc859c531d6768633e473e815e33741b40f60
tree6afc956ec1cef2cd00832685225ccac6d8cec868
parent2813b9225196bcee77a9a8d2a278a4c9c941f497
block, fs, drivers: remove REQ_OP compat defs and related code

This patch drops the compat definition of req_op where it matches
the rq_flag_bits definitions, and drops the related old and compat
code that allowed users to set either the op or flags for the operation.

We also then store the operation in the bi_rw/cmd_flags field similar
to how we used to store the bio ioprio where it sat in the upper bits
of the field.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/sd.c
include/linux/bio.h
include/linux/blk_types.h
include/linux/blkdev.h
include/linux/fs.h
include/trace/events/f2fs.h