[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33c35aa8-b698-7141-6adb-ac0b76edf758@toxicpanda.com>
Date: Thu, 17 Dec 2020 09:39:59 -0500
From: Josef Bacik <josef@...icpanda.com>
To: Josh Triplett <josh@...htriplett.org>, Jens Axboe <axboe@...nel.dk>
Cc: linux-block@...r.kernel.org, nbd@...er.debian.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nbd: Respect max_part for all partition scans
On 12/17/20 3:58 AM, Josh Triplett wrote:
> The creation path of the NBD device respects max_part and only scans for
> partitions if max_part is not 0. However, some other code paths ignore
> max_part, and unconditionally scan for partitions. Add a check for
> max_part on each partition scan.
>
> Signed-off-by: Josh Triplett <josh@...htriplett.org>
Reviewed-by: Josef Bacik <josef@...icpanda.com>
Thanks,
Josef
Powered by blists - more mailing lists