• Mike Christie's avatar
    ext4: use bio op helprs in ext4 crypto code · 60a40096
    Mike Christie authored
    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 95fe6c1a
    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: default avatarMike Christie <mchristi@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    60a40096
crypto.c 14.1 KB