Re: [PATCH 1/2] loop: remove cmd->rq member

2018-04-14 Thread Ming Lei
On Fri, Apr 13, 2018 at 04:30:35PM -0600, Jens Axboe wrote: > We can always get at the request from the payload, no need to store > a pointer to it. > > Signed-off-by: Jens Axboe > --- > drivers/block/loop.c | 36 +++- > drivers/block/loop.h | 1 - > 2 files chan

[PATCH 1/2] loop: remove cmd->rq member

2018-04-13 Thread Jens Axboe
We can always get at the request from the payload, no need to store a pointer to it. Signed-off-by: Jens Axboe --- drivers/block/loop.c | 36 +++- drivers/block/loop.h | 1 - 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/drivers/block/loop.c b/