Re: [dm-devel] [PATCH RFC 1/7] block: move definition of blk_qc_t to types.h

2021-01-07 Thread Mike Snitzer
On Wed, Dec 23 2020 at 6:26am -0500, Jeffle Xu wrote: > So that kiocb.ki_cookie can be defined as blk_qc_t, which will enforce > the encapsulation. > > Signed-off-by: Jeffle Xu > --- > include/linux/blk_types.h | 2 +- > include/linux/fs.h| 2 +- > include/linux/types.h | 3 +++ >

[dm-devel] [PATCH RFC 1/7] block: move definition of blk_qc_t to types.h

2021-01-04 Thread Jeffle Xu
So that kiocb.ki_cookie can be defined as blk_qc_t, which will enforce the encapsulation. Signed-off-by: Jeffle Xu --- include/linux/blk_types.h | 2 +- include/linux/fs.h| 2 +- include/linux/types.h | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git