[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C3050A4DBA34F345975765E43127F10F8B7720E8@dggemm511-mbs.china.huawei.com>
Date: Mon, 7 May 2018 02:30:47 +0000
From: Caizhiyong <caizhiyong@...ilicon.com>
To: Wang YanQing <udknight@...il.com>,
"axboe@...nel.dk" <axboe@...nel.dk>
CC: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"pombredanne@...b.com" <pombredanne@...b.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jiangheng <jiangheng@...ilicon.com>
Subject: RE: [PATCH v3] block: add verifier for cmdline partition
> /*
> * Purpose: allocate cmdline partitions.
> * Returns:
> @@ -93,6 +158,7 @@ int cmdline_partition(struct parsed_partitions *state)
> disk_size = get_capacity(state->bdev->bd_disk) << 9;
>
> cmdline_parts_set(parts, disk_size, 1, add_part, (void *)state);
> + cmdline_parts_verifier(1, (void *)state);
cmdline_parts_verifier(1, state);
>
> strlcat(state->pp_buf, "\n", PAGE_SIZE);
>
> --
> 1.8.5.6.2.g3d8a54e.dirty
Powered by blists - more mailing lists