[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZGzwIGPfRggsU0Ek@redhat.com>
Date: Tue, 23 May 2023 12:56:00 -0400
From: Mike Snitzer <snitzer@...nel.org>
To: Christoph Hellwig <hch@....de>
Cc: Jens Axboe <axboe@...nel.dk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Joern Engel <joern@...ybastard.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Pavel Machek <pavel@....cz>, dm-devel@...hat.com,
linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH 17/24] dm-snap: simplify the origin_dev == cow_dev check
in snapshot_ctr
On Tue, May 23 2023 at 3:45P -0400,
Christoph Hellwig <hch@....de> wrote:
> Use the block_device acquired in dm_get_device for the check instead
> of doing an extra lookup.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
Reviewed-by: Mike Snitzer <snitzer@...nel.org>
Powered by blists - more mailing lists