[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.02.1908111410040.13454@file01.intranet.prod.int.rdu2.redhat.com>
Date: Sun, 11 Aug 2019 14:10:24 -0400 (EDT)
From: Mikulas Patocka <mpatocka@...hat.com>
To: Huaisheng Ye <yehs2007@...o.com>
cc: snitzer@...hat.com, agk@...hat.com, prarit@...hat.com,
tyu1@...ovo.com, dm-devel@...hat.com, linux-kernel@...r.kernel.org,
Huaisheng Ye <yehs1@...ovo.com>
Subject: Re: dm writecache: remove unused member pointer in
writeback_struct
On Mon, 12 Aug 2019, Huaisheng Ye wrote:
> From: Huaisheng Ye <yehs1@...ovo.com>
>
> The stucture member pointer page in writeback_struct never has been
> used actually. Remove it.
>
> Signed-off-by: Huaisheng Ye <yehs1@...ovo.com>
Acked-by: Mikulas Patocka <mpatocka@...hat.com>
> ---
> drivers/md/dm-writecache.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c
> index 1cb137f..5c7009d 100644
> --- a/drivers/md/dm-writecache.c
> +++ b/drivers/md/dm-writecache.c
> @@ -190,7 +190,6 @@ struct writeback_struct {
> struct dm_writecache *wc;
> struct wc_entry **wc_list;
> unsigned wc_list_n;
> - struct page *page;
> struct wc_entry *wc_list_inline[WB_LIST_INLINE];
> struct bio bio;
> };
> --
> 1.8.3.1
>
>
Powered by blists - more mailing lists