]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use bio op helprs in ext4 crypto code
authorMike Christie <mchristi@redhat.com>
Wed, 8 Jun 2016 20:49:40 +0000 (15:49 -0500)
committerJens Axboe <axboe@fb.com>
Wed, 8 Jun 2016 21:01:08 +0000 (15:01 -0600)
commit67f0bda73a1eedea1b861d7590164392ce2c26d4
treea7c75a46cd1cc05c3754f532849f575876e89a9d
parent3903524e9ede75cb475009dffba88b74a0caf9bc
ext4: use bio op helprs in ext4 crypto code

This was missed from my last patchset.

This patch has ext4 crypto code use the bio op helper
to set the operation. The operation (discard, write, writesame,
etc) is now defined seperately from the other REQ bits. They
still share the bi_rw field to save space, so we use these
helpers so modules do not have to worry about setting/overwriting
info.

Jens, I am not sure how you handle patches on top of patches
in the next branches. If you merge patches that fix issues
in previous patches in next, then this patch could be part
of

commit 8ce3b8bd254ade873a73f1055ff393c6e4aaf0a0
Author: Mike Christie <mchristi@redhat.com>
Date:   Sun Jun 5 14:31:48 2016 -0500

    block, fs, mm, drivers: use bio set/get op accessors

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/ext4/crypto.c